JwtBearerAuthenticationOptions Class
Options for JWT Bearer Token handler configuration.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.AuthenticationOptions
Microsoft.Owin.Security.Jwt.JwtBearerAuthenticationOptions
Namespace: Microsoft.Owin.Security.Jwt
Assembly: Microsoft.Owin.Security.Jwt (in Microsoft.Owin.Security.Jwt.dll)
Syntax
'Declaration
Public Class JwtBearerAuthenticationOptions _
Inherits AuthenticationOptions
'Usage
Dim instance As JwtBearerAuthenticationOptions
public class JwtBearerAuthenticationOptions : AuthenticationOptions
public ref class JwtBearerAuthenticationOptions : public AuthenticationOptions
type JwtBearerAuthenticationOptions =
class
inherit AuthenticationOptions
end
public class JwtBearerAuthenticationOptions extends AuthenticationOptions
The JwtBearerAuthenticationOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
JwtBearerAuthenticationOptions | Initializes a new instance of the JwtBearerAuthenticationOptions class. |
Top
Properties
Name | Description | |
---|---|---|
AllowedAudiences | Gets or sets the allowed audiences an inbound JWT will be checked against. | |
AuthenticationMode | If Active the authentication middleware alter the request user coming in and alter 401 Unauthorized responses going out. If Passive the authentication middleware will only provide identity and alter responses when explicitly indicated by the AuthenticationType. (Inherited from AuthenticationOptions.) | |
AuthenticationType | The AuthenticationType in the options corresponds to the IIdentity AuthenticationType property. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline. (Inherited from AuthenticationOptions.) | |
Description | Additional information about the authentication type which is made available to the application. (Inherited from AuthenticationOptions.) | |
IssuerSecurityTokenProviders | Gets or sets the issuer security token providers which provide the signing keys a JWT signature is checked against. | |
Provider | Gets or sets the authentication provider. | |
Realm | Gets or sets the authentication realm. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
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.