C# Class Owin.Security.Providers.WSO2.WSO2AuthenticationExtensions

Extension methods for using WSO2AuthenticationMiddleware
显示文件 Open project: TerribleDev/OwinOAuthProviders

Public Methods

Method Description
UseWSO2Authentication ( this app, WSO2AuthenticationOptions options ) : IAppBuilder

Authenticate users using WSO2 OAuth 2.0

UseWSO2Authentication ( this app, string baseUrl, string clientId, string clientSecret ) : IAppBuilder

Authenticate users using WSO2 OAuth 2.0

Method Details

UseWSO2Authentication() public static method

Authenticate users using WSO2 OAuth 2.0
public static UseWSO2Authentication ( this app, WSO2AuthenticationOptions options ) : IAppBuilder
app this The passed to the configuration method
options WSO2AuthenticationOptions Middleware configuration options
return IAppBuilder

UseWSO2Authentication() public static method

Authenticate users using WSO2 OAuth 2.0
public static UseWSO2Authentication ( this app, string baseUrl, string clientId, string clientSecret ) : IAppBuilder
app this The passed to the configuration method
baseUrl string The WSO2 Identity Server base url, should be like https://localhost:9443/
clientId string The WSO2 assigned client id
clientSecret string The WSO2 assigned client secret
return IAppBuilder