OAuthMatchEndpointContext Class
Provides context information used when determining the OAuth flow type based on the request.
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Provider.BaseContext<TOptions>
Microsoft.Owin.Security.Provider.EndpointContext<TOptions>
Microsoft.Owin.Security.OAuth.OAuthMatchEndpointContext
Syntax
public class OAuthMatchEndpointContext : EndpointContext<OAuthAuthorizationServerOptions>
public ref class OAuthMatchEndpointContext : EndpointContext<OAuthAuthorizationServerOptions^>
type OAuthMatchEndpointContext =
class
inherit EndpointContext<OAuthAuthorizationServerOptions>
end
Public Class OAuthMatchEndpointContext
Inherits EndpointContext(Of OAuthAuthorizationServerOptions)
Constructors
Name | Description | |
---|---|---|
OAuthMatchEndpointContext(IOwinContext, OAuthAuthorizationServerOptions) | Initializes a new instance of the OAuthMatchEndpointContext class |
Properties
Name | Description | |
---|---|---|
IsAuthorizeEndpoint | Gets whether or not the endpoint is an OAuth authorize endpoint. |
|
IsRequestCompleted | True if the request should not be processed further by other components.(Inherited from EndpointContext<TOptions>.) |
|
IsTokenEndpoint | Gets whether or not the endpoint is an OAuth token endpoint. |
|
Options | (Inherited from BaseContext<TOptions>.) |
|
OwinContext | (Inherited from BaseContext<TOptions>.) |
|
Request | (Inherited from BaseContext<TOptions>.) |
|
Response | (Inherited from BaseContext<TOptions>.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MatchesAuthorizeEndpoint() | Sets the endpoint type to authorize endpoint. |
|
MatchesNothing() | Sets the endpoint type to neither authorize nor token. |
|
MatchesTokenEndpoint() | Sets the endpoint type to token endpoint. |
|
MemberwiseClone() | (Inherited from Object.) |
|
RequestCompleted() | Prevents the request from being processed further by other components. IsRequestCompleted becomes true after calling.(Inherited from EndpointContext<TOptions>.) |
|
ToString() | (Inherited from Object.) |
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.
See Also
Microsoft.Owin.Security.OAuth Namespace
Return to top