OAuthHandler<TOptions> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An authentication handler that supports OAuth.
generic <typename TOptions>
where TOptions : OAuthOptionspublic ref class OAuthHandler : Microsoft::AspNetCore::Authentication::RemoteAuthenticationHandler<TOptions>
generic <typename TOptions>
where TOptions : OAuthOptionsgcnew()public ref class OAuthHandler : Microsoft::AspNetCore::Authentication::RemoteAuthenticationHandler<TOptions>
public class OAuthHandler<TOptions> : Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions> where TOptions : OAuthOptions
public class OAuthHandler<TOptions> : Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions> where TOptions : OAuthOptions, new()
type OAuthHandler<'Options (requires 'Options :> OAuthOptions)> = class
inherit RemoteAuthenticationHandler<'Options (requires 'Options :> OAuthOptions)>
type OAuthHandler<'Options (requires 'Options :> OAuthOptions and 'Options : (new : unit -> 'Options))> = class
inherit RemoteAuthenticationHandler<'Options (requires 'Options :> OAuthOptions and 'Options : (new : unit -> 'Options))>
Public Class OAuthHandler(Of TOptions)
Inherits RemoteAuthenticationHandler(Of TOptions)
Type Parameters
- TOptions
The type of options.
- Inheritance
- Derived
Constructors
OAuthHandler<TOptions>(HttpClient) | |
OAuthHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder, ISystemClock) |
Obsolete.
Initializes a new instance of OAuthHandler<TOptions>. |
OAuthHandler<TOptions>(IOptionsMonitor<TOptions>, ILoggerFactory, UrlEncoder) |
Initializes a new instance of OAuthHandler<TOptions>. |
Properties
Backchannel |
Gets the HttpClient instance used to communicate with the remote authentication provider. |
ChallengeCalled | (Inherited from AuthenticationHandler<TOptions>) |
ClaimsIssuer |
Gets the issuer that should be used when any claims are issued. (Inherited from AuthenticationHandler<TOptions>) |
Clock |
Obsolete.
Gets the ISystemClock. (Inherited from AuthenticationHandler<TOptions>) |
Context |
Gets or sets the HttpContext. (Inherited from AuthenticationHandler<TOptions>) |
CurrentUri |
Gets the absolute current url. (Inherited from AuthenticationHandler<TOptions>) |
Events |
The handler calls methods on the events which give the application control at certain points where processing is occurring. If it is not provided a default instance is supplied which does nothing when the methods are called. |
InitializeResult | (Inherited from AuthenticationHandler<TOptions>) |
Logger |
Gets the ILogger. (Inherited from AuthenticationHandler<TOptions>) |
Options |
Gets or sets the options associated with this authentication handler. (Inherited from AuthenticationHandler<TOptions>) |
OptionsMonitor |
Gets the IOptionsMonitor<TOptions> to detect changes to options. (Inherited from AuthenticationHandler<TOptions>) |
OriginalPath |
Gets the path as seen by the authentication middleware. (Inherited from AuthenticationHandler<TOptions>) |
OriginalPathBase |
Gets the path base as seen by the authentication middleware. (Inherited from AuthenticationHandler<TOptions>) |
PriorHandler | (Inherited from AuthenticationHandler<TOptions>) |
Request |
Gets the HttpRequest associated with the current request. (Inherited from AuthenticationHandler<TOptions>) |
Response |
Gets the HttpResponse associated with the current request. (Inherited from AuthenticationHandler<TOptions>) |
Scheme |
Gets or sets the AuthenticationScheme associated with this authentication handler. (Inherited from AuthenticationHandler<TOptions>) |
SignInAccepted | (Inherited from AuthenticationHandler<TOptions>) |
SignInScheme |
The authentication scheme used by default for signin. (Inherited from RemoteAuthenticationHandler<TOptions>) |
SignOutAccepted | (Inherited from AuthenticationHandler<TOptions>) |
TimeProvider |
Gets the current time, primarily for unit testing. (Inherited from AuthenticationHandler<TOptions>) |
UrlEncoder |
Gets the UrlEncoder. (Inherited from AuthenticationHandler<TOptions>) |