Method | Description | |
---|---|---|
AuthorizeAsync ( string url, string authorizeUrl, string callbackUrl ) : string>>.Task |
Redirects the user to the authorization URL.
|
|
Initialize ( string portalUrl ) : void |
Initializes the Silverlight application for getting authorization from an OAuth authorization page. Calling this method is optional but offers the following advantages:
|
|
OAuthAuthorize ( ) : System.Json |
Initializes a new instance of the OAuthAuthorize class.
|
Method | Description | |
---|---|---|
DecodeParameters ( |
Decodes the parameters returned when the user agent is redirected to the callback url The parameters can be returned as fragments (e.g. access_token for Browser based app) or as query parameter (e.g. code for Server based app)
|
|
FromDictionary ( string>.IDictionary |
||
FromJsonValue ( |
||
IsCookieEnabled ( ) : bool | ||
LoadOAuthToken ( string portalUrl ) : IdentityManager.Credential | ||
LoadOAuthTokenFromCookie ( ) : IdentityManager.Credential | ||
OpenAuthorizeWindow ( ) : void | ||
RemoveOAuthTokenFromCookie ( ) : void | ||
RemovePersistedOAuthToken ( string portalUrl ) : void | ||
SaveOAuthToken ( string portalUrl, string>.IDictionary |
||
SaveOAuthTokenAsCookie ( string>.IDictionary |
||
SetResult ( string callbackUrl ) : void |
public AuthorizeAsync ( string url, string authorizeUrl, string callbackUrl ) : string>>.Task |
||
url | string | The service URL. |
authorizeUrl | string | The authorize URL. |
callbackUrl | string | The callback URL. |
return | string>>.Task |
public static Initialize ( string portalUrl ) : void | ||
portalUrl | string | The portal URL. |
return | void |