public interface RequestAuthenticator
BasicRequestAuthenticator,
SAuthc1RequestAuthenticator,
AuthenticationScheme| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(Request request,
ApiKey apiKey)
Implementations of this operation will prepare the authentication information as expected by the Stormpath API server.
|
void authenticate(Request request, ApiKey apiKey) throws RequestAuthenticationException
request - the request that will be sent to Stormpath API server, it shall be modified by the implementating classes
in order to insert here the authentication informationapiKey - provides the authentication data that will be used to create the proper authentication information for
the specific scheme the implementation defines.RequestAuthenticationException - when the authentication request cannot be createdCopyright © 2012–2014. All rights reserved.