JwtFormat Class
Signs and validates JSON Web Tokens.
Assembly: Microsoft.Owin.Security.Jwt (in Microsoft.Owin.Security.Jwt.dll)
| Name | Description | |
|---|---|---|
![]() | JwtFormat() | Creates a new JwtFormat with TokenHandler and UseTokenLifetime enabled by default. |
![]() | JwtFormat(IEnumerable<String^>^, IEnumerable<IIssuerSecurityTokenProvider^>^) | Initializes a new instance of the JwtFormat class. |
![]() | JwtFormat(String^, IIssuerSecurityTokenProvider^) | Initializes a new instance of the JwtFormat class. |
![]() | JwtFormat(TokenValidationParameters^) | Initializes a new instance of the JwtFormat class. |
![]() | JwtFormat(TokenValidationParameters^, IIssuerSecurityTokenProvider^) |
| Name | Description | |
|---|---|---|
![]() | TokenHandler | A System.IdentityModel.Tokens.SecurityTokenHandler designed for creating and validating Json Web Tokens. |
![]() | UseTokenLifetime | 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. |
![]() | ValidateIssuer | Gets or sets a value indicating whether JWT issuers should be validated. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Protect(AuthenticationTicket^) | Transforms the specified authentication ticket into a JWT. |
![]() | ToString() | (Inherited from Object.) |
![]() | Unprotect(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.


