Method | Description | |
---|---|---|
OAuth2Client ( ProviderType providerType, string clientID, string clientSecret, string scope = null ) : Newtonsoft.Json.Linq | ||
ProcessCallbackAsync ( ) : Task |
||
RedirectToAuthorizationProvider ( ProviderType providerType, string returnUrl = null ) : void | ||
RegisterCustomOAuthCallback ( RouteCollection routes, string action, string controller, string area = null ) : void | ||
RegisterProvider ( ProviderType providerType, string clientID, string clientSecret, string scope = null, |
Method | Description | |
---|---|---|
GetContext ( ) : AuthorizationContext | ||
GetProvider ( ProviderType providerType ) : Provider | ||
OAuth2Client ( ) : Newtonsoft.Json.Linq | ||
Protect ( byte data ) : string | ||
SaveContext ( AuthorizationContext authCtx ) : void | ||
Unprotect ( string value ) : byte[] |
public OAuth2Client ( ProviderType providerType, string clientID, string clientSecret, string scope = null ) : Newtonsoft.Json.Linq | ||
providerType | ProviderType | |
clientID | string | |
clientSecret | string | |
scope | string | |
return | Newtonsoft.Json.Linq |
public RedirectToAuthorizationProvider ( ProviderType providerType, string returnUrl = null ) : void | ||
providerType | ProviderType | |
returnUrl | string | |
return | void |
public static RegisterCustomOAuthCallback ( RouteCollection routes, string action, string controller, string area = null ) : void | ||
routes | RouteCollection | |
action | string | |
controller | string | |
area | string | |
return | void |
public RegisterProvider ( ProviderType providerType, string clientID, string clientSecret, string scope = null, |
||
providerType | ProviderType | |
clientID | string | |
clientSecret | string | |
scope | string | |
additionalParameters | ||
return | void |