Method | Description | |
---|---|---|
Create ( string authBaseUri, string clientId, string clientSecret, IEnumerable |
Create an HTTP Handler for client only auth.
|
|
Create ( string authBaseUri, string clientId, string clientSecret, IEnumerable |
Create an HTTP Handler that supports OAuth user authentication.
|
Method | Description | |
---|---|---|
GetServerDescription ( string authBaseUri ) : DotNetOpenAuth.OAuth2.AuthorizationServerDescription |
public static Create ( string authBaseUri, string clientId, string clientSecret, IEnumerable |
||
authBaseUri | string | The base auth URI e.g. https://auth.alitudeangel.com |
clientId | string | Your client ID |
clientSecret | string | Your client secret |
scopes | IEnumerable |
Requested scopes |
existingState | DotNetOpenAuth.OAuth2.AuthorizationState | (optional) An existing state object from a previous session. May be null. |
return |
public static Create ( string authBaseUri, string clientId, string clientSecret, IEnumerable |
||
authBaseUri | string | The base auth URI e.g. https://auth.alitudeangel.com |
clientId | string | Your client ID |
clientSecret | string | Your client secret |
scopes | IEnumerable |
Requested scopes |
existingState | DotNetOpenAuth.OAuth2.AuthorizationState | (optional) An existing state object from a previous session. May be null. |
requireUserToken | bool | true to aquire a user token, false to get a client only token. |
redirectUri | string | The redirect URI to use for user token auth. Must match the registered URI for your client ID. |
codeProvider | IAuthorizeCodeProvider | Implementation to use to get an authorization code URI from an auth login URI. |
return |