package kr.kdev.dg1s.biowiki.networking;
/**
* Interface that provides a method that should perform the necessary task to make sure
* the provided AuthenticatorRequest will be authenticated.
* <p/>
* The Authenticator must call AuthenticatorRequest.send() when it has completed its operations. For
* convenience the AuthenticatorRequest class provides AuthenticatorRequest.setAccessToken so the Authenticator can
* easily update the access token.
*/
public interface Authenticator {
void authenticate(AuthenticatorRequest authenticatorRequest);
}