org.codegist.crest.security
Class OAuthentificationManager
java.lang.Object
org.codegist.crest.security.OAuthentificationManager
- All Implemented Interfaces:
- AuthentificationManager
public class OAuthentificationManager
- extends Object
- implements AuthentificationManager
OAuth authentification manager implementation.
Refresh implementation is based on oauth_session_handle token extra parameter
- Author:
- Laurent Gilles (laurent.gilles@codegist.org)
OAuthentificationManager
public OAuthentificationManager(OAuthenticator oauth,
Token accessToken)
sign
public void sign(HttpRequest.Builder request,
Pair<String,String>... properties)
- Description copied from interface:
AuthentificationManager
- Sign the request
- Specified by:
sign
in interface AuthentificationManager
- Parameters:
request
- request to be signedproperties
- optional signing properties
refresh
public void refresh()
- Description copied from interface:
AuthentificationManager
- Refresh the authentification information
- Specified by:
refresh
in interface AuthentificationManager
Copyright © 2011. All Rights Reserved.