接口 Authenticator
- 所有已知实现类:
AndroidAuthenticator
public interface Authenticator
An interface for interacting with auth tokens.
-
方法概要
修饰符和类型方法说明Synchronously retrieves an auth token.voidinvalidateAuthToken(String authToken) Invalidates the provided auth token.
-
方法详细资料
-
getAuthToken
Synchronously retrieves an auth token.- 抛出:
AuthFailureError- If authentication did not succeed
-
invalidateAuthToken
Invalidates the provided auth token.
-