Метод | Описание | |
---|---|---|
GetAccessToken ( ) : string |
Returns the currently cached access token. If no access token was previously cached, or if the current access token is expired, then a new one is generated and returned.
|
|
OAuthTokenCredential ( string>.Dictionary |
|
|
OAuthTokenCredential ( string clientId, string clientSecret ) : System |
Client Id and Secret for the OAuth
|
|
OAuthTokenCredential ( string clientId = "", string clientSecret = "", string>.Dictionary |
Client Id and Secret for the OAuth
|
Метод | Описание | |
---|---|---|
GenerateOAuthToken ( ) : string |
Generates a new OAuth token useing the specified client credentials in the authorization request.
|
|
GetEndpointOverride ( ) : string |
Gets the overridden endpoint defined in the config, if set. Otherwise returns an empty string, in which case the default endpoint will be used when requesting a new token.
|
public OAuthTokenCredential ( string>.Dictionary |
||
config | string>.Dictionary | |
Результат | System |
public OAuthTokenCredential ( string clientId, string clientSecret ) : System | ||
clientId | string | |
clientSecret | string | |
Результат | System |
public OAuthTokenCredential ( string clientId = "", string clientSecret = "", string>.Dictionary |
||
clientId | string | |
clientSecret | string | |
config | string>.Dictionary | |
Результат | System |