public class ACAccountCredential extends NSObject
| Constructor and Description |
|---|
ACAccountCredential(String token,
String secret)
Initializes an ACAccountCredential object with the specified client
application tokens.
|
ACAccountCredential(String token,
String refreshToken,
NSDate expiryDate)
Initializes an ACAccountCredential object with the specified client
application tokens and expiry date.
|
| Modifier and Type | Method and Description |
|---|---|
String |
oauthToken()
Returns a token that is used for the credential.
|
void |
setOauthToken(String oauthToken)
Sets the token that is used for the credential.
|
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKeypublic ACAccountCredential(String token, String secret)
token - The client application’s token.secret - The client application’s secret token.public ACAccountCredential(String token, String refreshToken, NSDate expiryDate)
token - The client application’s token.refreshToken - The client application’s refresh token.expiryDate - The expiry date.public String oauthToken()
public void setOauthToken(String oauthToken)
oauthToken - The token that is used for the credential.Copyright © 2020. All rights reserved.