|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.android.volley.toolbox.AndroidAuthenticator
public class AndroidAuthenticator
An Authenticator that uses AccountManager
to get auth
tokens of a specified type for a specified account.
コンストラクタの概要 | |
---|---|
AndroidAuthenticator(Context context,
Account account,
java.lang.String authTokenType)
Creates a new authenticator. |
メソッドの概要 | |
---|---|
Account |
getAccount()
Returns the Account being used by this authenticator. |
java.lang.String |
getAuthToken()
Synchronously retrieves an auth token. |
void |
invalidateAuthToken(java.lang.String authToken)
Invalidates the provided auth token. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public AndroidAuthenticator(Context context, Account account, java.lang.String authTokenType)
context
- Context for accessing AccountManageraccount
- Account to authenticate asauthTokenType
- Auth token type passed to AccountManagerメソッドの詳細 |
---|
public Account getAccount()
public java.lang.String getAuthToken() throws AuthFailureError
Authenticator
の記述:
Authenticator
内の getAuthToken
AuthFailureError
- If authentication did not succeedpublic void invalidateAuthToken(java.lang.String authToken)
Authenticator
の記述:
Authenticator
内の invalidateAuthToken
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |