JwtFormat Class
Signs and validates JSON Web Tokens.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Jwt.JwtFormat
Namespace: Microsoft.Owin.Security.Jwt
Assembly: Microsoft.Owin.Security.Jwt (in Microsoft.Owin.Security.Jwt.dll)
Syntax
'Declaration
Public Class JwtFormat _
Implements ISecureDataFormat(Of AuthenticationTicket)
'Usage
Dim instance As JwtFormat
public class JwtFormat : ISecureDataFormat<AuthenticationTicket>
public ref class JwtFormat : ISecureDataFormat<AuthenticationTicket^>
type JwtFormat =
class
interface ISecureDataFormat<AuthenticationTicket>
end
public class JwtFormat implements ISecureDataFormat<AuthenticationTicket>
The JwtFormat type exposes the following members.
Constructors
Name | Description | |
---|---|---|
JwtFormat(IEnumerable<String>, IEnumerable<IIssuerSecurityTokenProvider>) | Initializes a new instance of the JwtFormat class. | |
JwtFormat(String, IIssuerSecurityTokenProvider) | Initializes a new instance of the JwtFormat class. |
Top
Properties
Name | Description | |
---|---|---|
ValidateIssuer | Gets or sets a value indicating whether JWT issuers should be validated. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Protect | Transforms the specified authentication ticket into a JWT. | |
ToString | (Inherited from Object.) | |
Unprotect | Validates the specified JWT Token and builds an AuthenticationTicket from it. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.