OAuthBearerAuthenticationOptions Class
Provides options for OAuth bearer authentication.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.AuthenticationOptions
Microsoft.Owin.Security.OAuth.OAuthBearerAuthenticationOptions
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
'Declaration
Public Class OAuthBearerAuthenticationOptions _
Inherits AuthenticationOptions
'Usage
Dim instance As OAuthBearerAuthenticationOptions
public class OAuthBearerAuthenticationOptions : AuthenticationOptions
public ref class OAuthBearerAuthenticationOptions : public AuthenticationOptions
type OAuthBearerAuthenticationOptions =
class
inherit AuthenticationOptions
end
public class OAuthBearerAuthenticationOptions extends AuthenticationOptions
The OAuthBearerAuthenticationOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OAuthBearerAuthenticationOptions | Initializes a new instance of the OAuthBearerAuthenticationOptions class. |
Top
Properties
Name | Description | |
---|---|---|
AccessTokenFormat | Gets or sets the access token format for this authentication. | |
AccessTokenProvider | Gets the access token provider. | |
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.) | |
Provider | Gets or sets the provider for the OAuth bearer authentication. | |
Realm | Gets or sets the authentication realm. | |
SystemClock | Gets the system clock. |
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.