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 Details

    • OAuth2ServiceModule

      public OAuth2ServiceModule()
  • Method Details

    • setup

      protected void setup(com.google.inject.Binder binder)
      Specified by:
      setup in class io.airlift.configuration.AbstractConfigurationAwareModule
    • getTokenRefresher

      @Provides @Inject public TokenRefresher getTokenRefresher(TokenPairSerializer tokenAssembler, OAuth2TokenHandler tokenHandler, OAuth2Client oAuth2Client)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object