com.android.volley.toolbox
Interface Authenticator

All Known Implementing Classes:
AndroidAuthenticator

public interface Authenticator

An interface for interacting with auth tokens.


Method Summary
 String getAuthToken()
          Synchronously retrieves an auth token.
 void invalidateAuthToken(String authToken)
          Invalidates the provided auth token.
 

Method Detail

getAuthToken

String getAuthToken()
                    throws AuthFailureError
Synchronously retrieves an auth token.

Throws:
AuthFailureError - If authentication did not succeed

invalidateAuthToken

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