|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.oauth.v2.config.OAuthModule
public class OAuthModule
Base OAuth module
| Nested Class Summary | |
|---|---|
static class |
OAuthModule.CredentialTypeFromPropertyOrDefault
|
| Constructor Summary | |
|---|---|
OAuthModule()
|
|
| Method Summary | |
|---|---|
protected OAuthAuthenticationFilter |
authenticationFilterForCredentialType(CredentialType credentialType,
OAuthAuthenticator serviceAccountAuth,
BearerTokenAuthenticator bearerTokenAuth)
|
protected void |
configure()
|
com.google.common.cache.LoadingCache<TokenRequest,Token> |
provideAccessCache(com.google.common.base.Function<TokenRequest,Token> getAccess,
long sessionIntervalInSeconds)
Provides a cache for tokens. |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthModule()
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule
@Provides
public com.google.common.cache.LoadingCache<TokenRequest,Token> provideAccessCache(com.google.common.base.Function<TokenRequest,Token> getAccess,
long sessionIntervalInSeconds)
@Provides
protected OAuthAuthenticationFilter authenticationFilterForCredentialType(CredentialType credentialType,
OAuthAuthenticator serviceAccountAuth,
BearerTokenAuthenticator bearerTokenAuth)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||