C# Class Google.Auth.OAuthV2

Mostrar archivo Open project: Redth/Google.Auth

Public Methods

Method Description
GetAccessToken ( string verificationCode ) : bool
GetAuthUrl ( ) : string
OAuthV2 ( string clientId, string clientSecret, string redirectUrl ) : System
RefreshAccessToken ( ) : bool
TryGetAccessToken ( string verificationCode, GoogleOAuthException &error ) : bool
TryRefreshAccessToken ( GoogleOAuthException &error ) : bool

Private Methods

Method Description
parseToken ( string data ) : bool

Method Details

GetAccessToken() public method

public GetAccessToken ( string verificationCode ) : bool
verificationCode string
return bool

GetAuthUrl() public method

public GetAuthUrl ( ) : string
return string

OAuthV2() public method

public OAuthV2 ( string clientId, string clientSecret, string redirectUrl ) : System
clientId string
clientSecret string
redirectUrl string
return System

RefreshAccessToken() public method

public RefreshAccessToken ( ) : bool
return bool

TryGetAccessToken() public method

public TryGetAccessToken ( string verificationCode, GoogleOAuthException &error ) : bool
verificationCode string
error GoogleOAuthException
return bool

TryRefreshAccessToken() public method

public TryRefreshAccessToken ( GoogleOAuthException &error ) : bool
error GoogleOAuthException
return bool