接口 Authenticator

所有已知实现类:
AndroidAuthenticator

public interface Authenticator
An interface for interacting with auth tokens.
  • 方法概要

    修饰符和类型
    方法
    说明
    Synchronously retrieves an auth token.
    void
    Invalidates the provided auth token.
  • 方法详细资料

    • getAuthToken

      String getAuthToken() throws AuthFailureError
      Synchronously retrieves an auth token.
      抛出:
      AuthFailureError - If authentication did not succeed
    • invalidateAuthToken

      void invalidateAuthToken(String authToken)
      Invalidates the provided auth token.