SimpleWebSecurityToken SimpleWebSecurityToken SimpleWebSecurityToken Class

Definition

A security token that wraps a Simple Web Token.

public class SimpleWebSecurityToken : System.IdentityModel.Tokens.SecurityToken
type SimpleWebSecurityToken = class
    inherit SecurityToken
Public Class SimpleWebSecurityToken
Inherits SecurityToken
Inheritance
SimpleWebSecurityTokenSimpleWebSecurityTokenSimpleWebSecurityToken
Derived

Constructors

SimpleWebSecurityToken(String) SimpleWebSecurityToken(String) SimpleWebSecurityToken(String)

Initializes a new instance of the SimpleWebSecurityToken class with the specified Simple Web Token.

SimpleWebSecurityToken(String, DateTime) SimpleWebSecurityToken(String, DateTime) SimpleWebSecurityToken(String, DateTime)

Initializes a new instance of the SimpleWebSecurityToken class with the specified Simple Web Token and expiry date.

SimpleWebSecurityToken(String, String) SimpleWebSecurityToken(String, String) SimpleWebSecurityToken(String, String)

Initializes a new instance of the SimpleWebSecurityToken class with the specified token ID and Simple Web Token.

SimpleWebSecurityToken(String, DateTime, String) SimpleWebSecurityToken(String, DateTime, String) SimpleWebSecurityToken(String, DateTime, String)

Initializes a new instance of the SimpleWebSecurityToken class.

Properties

Audience Audience Audience

Gets the audience for the simple web token.

AudienceFieldName AudienceFieldName AudienceFieldName

Gets the audience field name.

ExpiresOn ExpiresOn ExpiresOn

Gets the date and time the security token will expire.

ExpiresOnFieldName ExpiresOnFieldName ExpiresOnFieldName

Gets the field name associated with the token expiration.

Id Id Id

Gets the ID associated with the Simple Web Token.

KeyValueSeparator KeyValueSeparator KeyValueSeparator

Gets the key value separator associated with the token.

PairSeparator PairSeparator PairSeparator

Gets the pair separator associated with the token.

SecurityKeys SecurityKeys SecurityKeys

Gets the cryptographic keys associated with the security token.

Token Token Token

Gets the Simple Web Token.

ValidFrom ValidFrom ValidFrom

Not implemented.

ValidTo ValidTo ValidTo

Not implemented.

Applies to