public final class OAuthModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
OAuthModule.CredentialTypeFromPropertyOrDefault |
Constructor and Description |
---|
OAuthModule() |
Modifier and Type | Method and Description |
---|---|
protected OAuthFilter |
authenticationFilterForCredentialType(CredentialType credentialType,
Map<CredentialType,Class<? extends OAuthFilter>> authenticationFlows,
com.google.inject.Injector injector) |
protected Map<CredentialType,Class<? extends OAuthFilter>> |
authenticationFlowMap() |
protected void |
configure() |
protected com.google.common.base.Supplier<URI> |
oauthEndpoint(String endpoint) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides protected com.google.common.base.Supplier<URI> oauthEndpoint(@Named(value="oauth.endpoint") String endpoint)
@Provides @Singleton protected Map<CredentialType,Class<? extends OAuthFilter>> authenticationFlowMap()
@Provides @Singleton protected OAuthFilter authenticationFilterForCredentialType(CredentialType credentialType, Map<CredentialType,Class<? extends OAuthFilter>> authenticationFlows, com.google.inject.Injector injector)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.