Метод | Описание | |
---|---|---|
DownloadStringAuthenticated ( string url ) : string | ||
GetAccessToken ( string verificationCode ) : bool | ||
GetAuthUrl ( ) : string |
Authorizes an account with OAuth for the specified Google scopes and gets the URL to display to the user for further authorization. You should call GetAccessToken() next with the verification code returned after the user Grants your application access.
|
|
OAuth3Legged ( string appName, string displayName, bool mobile, string oauthConsumerKey, string oauthConsumerSecret, string oauthCallbackUrl ) : System | ||
TryGetAccessToken ( string verificationCode, GoogleOAuthException &error ) : bool | ||
TryGetAuthUrl ( string &authUrl, GoogleOAuthException &error ) : bool | ||
TryValidateTokens ( string token, string tokenSecret, GoogleOAuthException &error ) : bool | ||
ValidateTokens ( string token, string tokenSecret ) : bool |
Validates the given token and tokenSecret to ensure it is still valid for the given scopes
|
public DownloadStringAuthenticated ( string url ) : string | ||
url | string | |
Результат | string |
public GetAccessToken ( string verificationCode ) : bool | ||
verificationCode | string | |
Результат | bool |
public OAuth3Legged ( string appName, string displayName, bool mobile, string oauthConsumerKey, string oauthConsumerSecret, string oauthCallbackUrl ) : System | ||
appName | string | |
displayName | string | |
mobile | bool | |
oauthConsumerKey | string | |
oauthConsumerSecret | string | |
oauthCallbackUrl | string | |
Результат | System |
public TryGetAccessToken ( string verificationCode, GoogleOAuthException &error ) : bool | ||
verificationCode | string | |
error | GoogleOAuthException | |
Результат | bool |
public TryGetAuthUrl ( string &authUrl, GoogleOAuthException &error ) : bool | ||
authUrl | string | |
error | GoogleOAuthException | |
Результат | bool |
public TryValidateTokens ( string token, string tokenSecret, GoogleOAuthException &error ) : bool | ||
token | string | |
tokenSecret | string | |
error | GoogleOAuthException | |
Результат | bool |
public ValidateTokens ( string token, string tokenSecret ) : bool | ||
token | string | Access Token returned from Authorization |
tokenSecret | string | Access Token Secret returned from Authorization |
Результат | bool |