JwtFormat Class

 

Signs and validates JSON Web Tokens.

Namespace:   Microsoft.Owin.Security.Jwt
Assembly:  Microsoft.Owin.Security.Jwt (in Microsoft.Owin.Security.Jwt.dll)

System::Object
  Microsoft.Owin.Security.Jwt::JwtFormat

public ref class JwtFormat : ISecureDataFormat<AuthenticationTicket^>

NameDescription
System_CAPS_protmethodJwtFormat()

Creates a new JwtFormat with TokenHandler and UseTokenLifetime enabled by default.

System_CAPS_pubmethodJwtFormat(IEnumerable<String^>^, IEnumerable<IIssuerSecurityTokenProvider^>^)

Initializes a new instance of the JwtFormat class.

System_CAPS_pubmethodJwtFormat(String^, IIssuerSecurityTokenProvider^)

Initializes a new instance of the JwtFormat class.

System_CAPS_pubmethodJwtFormat(TokenValidationParameters^)

Initializes a new instance of the JwtFormat class.

System_CAPS_pubmethodJwtFormat(TokenValidationParameters^, IIssuerSecurityTokenProvider^)

NameDescription
System_CAPS_pubpropertyTokenHandler

A System.IdentityModel.Tokens.SecurityTokenHandler designed for creating and validating Json Web Tokens.

System_CAPS_pubpropertyUseTokenLifetime

Indicates that the authentication session lifetime (e.g. cookies) should match that of the authentication token. If the token does not provide lifetime information then normal session lifetimes will be used. This is enabled by default.

System_CAPS_pubpropertyValidateIssuer

Gets or sets a value indicating whether JWT issuers should be validated.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProtect(AuthenticationTicket^)

Transforms the specified authentication ticket into a JWT.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnprotect(String^)

Validates the specified JWT and builds an AuthenticationTicket from it.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: