C# Class Owin.JetPassAuthenticationExtensions

Extension methods for using JetPassAuthenticationMiddleware
Mostra file Open project: JetBrains/JetPass

Public Methods

Method Description
UseJetPassAuthentication ( this app, JetPassAuthenticationOptions options ) : IAppBuilder

Authenticate users using JetPass OAuth 2.0

UseJetPassAuthentication ( this app, string clientId, string clientSecret ) : IAppBuilder

Authenticate users using JetPass OAuth 2.0

Method Details

UseJetPassAuthentication() public static method

Authenticate users using JetPass OAuth 2.0
public static UseJetPassAuthentication ( this app, JetPassAuthenticationOptions options ) : IAppBuilder
app this The passed to the configuration method
options JetBrains.Owin.Security.JetPass.JetPassAuthenticationOptions Middleware configuration options
return IAppBuilder

UseJetPassAuthentication() public static method

Authenticate users using JetPass OAuth 2.0
public static UseJetPassAuthentication ( this app, string clientId, string clientSecret ) : IAppBuilder
app this The passed to the configuration method
clientId string The JetPass assigned client id
clientSecret string The JetPass assigned client secret
return IAppBuilder