프로퍼티 | 타입 | 설명 | |
---|---|---|---|
authenticator |
메소드 | 설명 | |
---|---|---|
OAuthApi ( string identifier, OAuthAuthenticator authenticator, |
Initializes a new instance of the T:SimpleAuth.OAuthApi class.
|
|
OAuthApi ( string identifier, string clientId, string clientSecret, string tokenUrl, string authorizationUrl, string redirectUrl = "http://localhost", |
Initializes a new instance of the T:SimpleAuth.OAuthApi class.
|
|
PrepareClient ( |
||
ResetData ( ) : void |
메소드 | 설명 | |
---|---|---|
CreateAuthenticator ( ) : |
||
GetAccountFromAuthCode ( |
||
OAuthApi ( string identifier, string clientId, string clientSecret, |
||
PerformAuthenticate ( ) : Task |
||
RefreshAccount ( |
||
RefreshToken ( |
메소드 | 설명 | |
---|---|---|
OAuthApi ( ) : System |
protected CreateAuthenticator ( ) : |
||
리턴 |
protected GetAccountFromAuthCode ( |
||
authenticator | ||
identifier | string | |
리턴 | Task |
public OAuthApi ( string identifier, OAuthAuthenticator authenticator, |
||
identifier | string | This is used to store and look up credentials/cookies for the API |
authenticator | OAuthAuthenticator | OAuth Authenticator. |
handler | Handler. | |
리턴 | System |
protected OAuthApi ( string identifier, string clientId, string clientSecret, |
||
identifier | string | |
clientId | string | |
clientSecret | string | |
handler | ||
리턴 | System |
public OAuthApi ( string identifier, string clientId, string clientSecret, string tokenUrl, string authorizationUrl, string redirectUrl = "http://localhost", |
||
identifier | string | This is used to store and look up credentials/cookies for the API |
clientId | string | OAuth Client identifier. |
clientSecret | string | OAuth Client secret. |
tokenUrl | string | URL for swaping out the token. |
authorizationUrl | string | Login website URL. |
redirectUrl | string | Redirect URL. Defaults to http://localhost |
handler | Handler. | |
리턴 | System |
public PrepareClient ( |
||
client | ||
리턴 | System.Threading.Tasks.Task |
protected RefreshAccount ( |
||
account | ||
리턴 | Task |
protected RefreshToken ( |
||
accaccount | ||
리턴 | Task |