Метод | Описание | |
---|---|---|
SalesforceClient ( string appId, string appSecret ) : System |
Initializes a new instance of the MicrosoftClient class. Requests a scope of "wl.basic" by default, but "wl.signin" is a good minimal alternative.
|
Метод | Описание | |
---|---|---|
GetServiceLoginUrl ( |
Gets the full url pointing to the login page for this client. The url should include the specified return url so that when the login completes, user is redirected back to that url.
|
|
GetUserData ( string accessToken ) : string>.IDictionary |
Given the access token, gets the logged-in user's data. The returned dictionary must include two keys 'id', and 'username'.
|
|
QueryAccessToken ( |
Queries the access token from the specified authorization code.
|
|
SalesforceClient ( string providerName, string appId, string appSecret, string requestedScopes ) : System |
Initializes a new instance of the MicrosoftClient class.
|
protected GetServiceLoginUrl ( |
||
returnUrl | The return URL. | |
Результат |
protected GetUserData ( string accessToken ) : string>.IDictionary |
||
accessToken | string | /// The access token of the current user. /// |
Результат | string>.IDictionary |
protected QueryAccessToken ( |
||
returnUrl | /// The return URL. /// | |
authorizationCode | string | /// The authorization code. /// |
Результат | string |
public SalesforceClient ( string appId, string appSecret ) : System | ||
appId | string | The app id. |
appSecret | string | The app secret. |
Результат | System |
protected SalesforceClient ( string providerName, string appId, string appSecret, string requestedScopes ) : System | ||
providerName | string | The provider name. |
appId | string | The app id. |
appSecret | string | The app secret. |
requestedScopes | string | One or more requested scopes. |
Результат | System |