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
System.IdentityModel.Tokens.SecurityToken
SimpleWebSecurityToken
Derived

Constructors

SimpleWebSecurityToken(String)

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

SimpleWebSecurityToken(String, DateTime)

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

SimpleWebSecurityToken(String, DateTime, String)

Initializes a new instance of the SimpleWebSecurityToken class.

SimpleWebSecurityToken(String, String)

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

Properties

Audience

Gets the audience for the simple web token.

AudienceFieldName

Gets the audience field name.

ExpiresOn

Gets the date and time the security token will expire.

ExpiresOnFieldName

Gets the field name associated with the token expiration.

Id

Gets the ID associated with the Simple Web Token.

KeyValueSeparator

Gets the key value separator associated with the token.

PairSeparator

Gets the pair separator associated with the token.

SecurityKeys

Gets the cryptographic keys associated with the security token.

Token

Gets the Simple Web Token.

ValidFrom

Not implemented.

ValidTo

Not implemented.

Applies to