public interface Authenticator
Modifier and Type | Method and Description |
---|---|
String |
getAuthToken()
Synchronously retrieves an auth token.
|
void |
invalidateAuthToken(String authToken)
Invalidates the provided auth token.
|
String getAuthToken() throws AuthFailureError
AuthFailureError
- If authentication did not succeedvoid invalidateAuthToken(String authToken)