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)


public static IAppBuilder UseOAuthAuthorizationServer(
    this IAppBuilder app,
    OAuthAuthorizationServerOptions options
static IAppBuilder^ UseOAuthAuthorizationServer(
    IAppBuilder^ app,
    OAuthAuthorizationServerOptions^ options
static member UseOAuthAuthorizationServer : 
        app:IAppBuilder *
        options:OAuthAuthorizationServerOptions -> IAppBuilder
Public Shared Function UseOAuthAuthorizationServer (
    app As IAppBuilder,
    options As OAuthAuthorizationServerOptions
) As IAppBuilder


  • app
    Type: Owin.IAppBuilder

    The web application builder

Return Value

Type: Owin.IAppBuilder

The application builder

See Also

OAuthAuthorizationServerExtensions Class
Owin Namespace

Return to top