Class SecurityToken
- Namespace
- Microsoft.Azure.ServiceBus.Primitives
- Assembly
- Microsoft.Azure.ServiceBus.dll
Provides information about a security token such as audience, expiry time, and the string token value.
public class SecurityToken
- Inheritance
-
SecurityToken
- Derived
- Inherited Members
Constructors
SecurityToken(string, DateTime, string, string)
Creates a new instance of the SecurityToken class.
public SecurityToken(string tokenString, DateTime expiresAtUtc, string audience, string tokenType)
Parameters
tokenString
stringThe token
expiresAtUtc
DateTimeThe expiration time
audience
stringThe audience
tokenType
stringThe type of the token
Properties
Audience
Gets the audience of this token.
public string Audience { get; }
Property Value
ExpiresAtUtc
Gets the expiration time of this token.
public DateTime ExpiresAtUtc { get; }
Property Value
TokenType
Gets the token type.
public virtual string TokenType { get; }
Property Value
TokenValue
Gets the actual token.
public virtual string TokenValue { get; }