Package io.trino.server.security.oauth2
Class OAuth2ServiceModule
java.lang.Object
io.airlift.configuration.AbstractConfigurationAwareModule
io.trino.server.security.oauth2.OAuth2ServiceModule
- All Implemented Interfaces:
com.google.inject.Module,io.airlift.configuration.ConfigurationAwareModule
public class OAuth2ServiceModule
extends io.airlift.configuration.AbstractConfigurationAwareModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetTokenRefresher(TokenPairSerializer tokenAssembler, OAuth2TokenHandler tokenHandler, OAuth2Client oAuth2Client) inthashCode()protected voidsetup(com.google.inject.Binder binder) Methods inherited from class io.airlift.configuration.AbstractConfigurationAwareModule
buildConfigObject, buildConfigObject, configure, consumeProperty, getProperties, getProperty, install, setConfigurationFactory
-
Constructor Details
-
OAuth2ServiceModule
public OAuth2ServiceModule()
-
-
Method Details
-
setup
protected void setup(com.google.inject.Binder binder) - Specified by:
setupin classio.airlift.configuration.AbstractConfigurationAwareModule
-
getTokenRefresher
@Provides @Inject public TokenRefresher getTokenRefresher(TokenPairSerializer tokenAssembler, OAuth2TokenHandler tokenHandler, OAuth2Client oAuth2Client) -
hashCode
public int hashCode() -
equals
-