OAuthAuthorizationServerExtensions.UseOAuthAuthorizationServer Method (IAppBuilder, OAuthAuthorizationServerOptions)
Adds OAuth2 Authorization Server capabilities to an OWIN web application. This middleware performs the request processing for the Authorize and Token endpoints defined by the OAuth2 specification. See also http://tools.ietf.org/html/rfc6749
Namespace: Owin
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
public static IAppBuilder UseOAuthAuthorizationServer(
this IAppBuilder app,
OAuthAuthorizationServerOptions options
)
public:
[ExtensionAttribute]
static IAppBuilder^ UseOAuthAuthorizationServer(
IAppBuilder^ app,
OAuthAuthorizationServerOptions^ options
)
static member UseOAuthAuthorizationServer :
app:IAppBuilder *
options:OAuthAuthorizationServerOptions -> IAppBuilder
<ExtensionAttribute>
Public Shared Function UseOAuthAuthorizationServer (
app As IAppBuilder,
options As OAuthAuthorizationServerOptions
) As IAppBuilder
Parameters
app
Type: Owin.IAppBuilderThe web application builder
options
Type: Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptionsOptions which control the behavior of the Authorization Server.
Return Value
Type: Owin.IAppBuilder
The application builder
See Also
OAuthAuthorizationServerExtensions Class
Owin Namespace
Return to top