Class OAuth2Config


  • public class OAuth2Config
    extends Object
    • Constructor Detail

      • OAuth2Config

        public OAuth2Config()
    • Method Detail

      • setStateKey

        @Config("http-server.authentication.oauth2.state-key")
        public OAuth2Config setStateKey​(String stateKey)
      • getAuthUrl

        @NotNull
        public @NotNull String getAuthUrl()
      • setAuthUrl

        @Config("http-server.authentication.oauth2.auth-url")
        public OAuth2Config setAuthUrl​(String authUrl)
      • getTokenUrl

        @NotNull
        public @NotNull String getTokenUrl()
      • setTokenUrl

        @Config("http-server.authentication.oauth2.token-url")
        public OAuth2Config setTokenUrl​(String tokenUrl)
      • getJwksUrl

        @NotNull
        public @NotNull String getJwksUrl()
      • setJwksUrl

        @Config("http-server.authentication.oauth2.jwks-url")
        public OAuth2Config setJwksUrl​(String jwksUrl)
      • getClientId

        @NotNull
        public @NotNull String getClientId()
      • setClientId

        @Config("http-server.authentication.oauth2.client-id")
        public OAuth2Config setClientId​(String clientId)
      • getClientSecret

        @NotNull
        public @NotNull String getClientSecret()
      • setClientSecret

        @Config("http-server.authentication.oauth2.client-secret")
        public OAuth2Config setClientSecret​(String clientSecret)
      • getChallengeTimeout

        @MinDuration("1ms")
        @NotNull
        public @MinDuration("1ms") @NotNull io.airlift.units.Duration getChallengeTimeout()
      • setChallengeTimeout

        @Config("http-server.authentication.oauth2.challenge-timeout")
        public OAuth2Config setChallengeTimeout​(io.airlift.units.Duration challengeTimeout)
      • getUserMappingPattern

        public Optional<String> getUserMappingPattern()
      • setUserMappingPattern

        @Config("http-server.authentication.oauth2.user-mapping.pattern")
        public OAuth2Config setUserMappingPattern​(String userMappingPattern)
      • getUserMappingFile

        public Optional<@FileExists File> getUserMappingFile()
      • setUserMappingFile

        @Config("http-server.authentication.oauth2.user-mapping.file")
        public OAuth2Config setUserMappingFile​(File userMappingFile)