Interface OidcConfig.Builder

  • Method Details

    • issuerUrl

      OidcConfig.Builder issuerUrl(String issuerUrl)

      The issuer URL for the OpenID Connect (OIDC) provider.

      Parameters:
      issuerUrl - The issuer URL for the OpenID Connect (OIDC) provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientId

      OidcConfig.Builder clientId(String clientId)

      The client ID for the identity provider.

      Parameters:
      clientId - The client ID for the identity provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientSecret

      OidcConfig.Builder clientSecret(String clientSecret)

      The client secret for the identity provider.

      Parameters:
      clientSecret - The client secret for the identity provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenType

      OidcConfig.Builder tokenType(String tokenType)

      The type of token used to authorize requests.

      Parameters:
      tokenType - The type of token used to authorize requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tokenType

      The type of token used to authorize requests.

      Parameters:
      tokenType - The type of token used to authorize requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tokenValidations

      OidcConfig.Builder tokenValidations(Collection<String> tokenValidations)

      The validations applied to tokens.

      Parameters:
      tokenValidations - The validations applied to tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenValidations

      OidcConfig.Builder tokenValidations(String... tokenValidations)

      The validations applied to tokens.

      Parameters:
      tokenValidations - The validations applied to tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • authorizationEndpoint

      OidcConfig.Builder authorizationEndpoint(String authorizationEndpoint)

      The authorization endpoint of the OpenID Connect (OIDC) provider.

      Parameters:
      authorizationEndpoint - The authorization endpoint of the OpenID Connect (OIDC) provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenEndpoint

      OidcConfig.Builder tokenEndpoint(String tokenEndpoint)

      The token endpoint of the OpenID Connect (OIDC) provider.

      Parameters:
      tokenEndpoint - The token endpoint of the OpenID Connect (OIDC) provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantType

      OidcConfig.Builder grantType(String grantType)

      The OAuth grant type used to obtain tokens.

      Parameters:
      grantType - The OAuth grant type used to obtain tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • grantType

      The OAuth grant type used to obtain tokens.

      Parameters:
      grantType - The OAuth grant type used to obtain tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • refreshTokenStrategy

      OidcConfig.Builder refreshTokenStrategy(String refreshTokenStrategy)

      The strategy used to obtain refresh tokens.

      Parameters:
      refreshTokenStrategy - The strategy used to obtain refresh tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • refreshTokenStrategy

      OidcConfig.Builder refreshTokenStrategy(RefreshTokenStrategy refreshTokenStrategy)

      The strategy used to obtain refresh tokens.

      Parameters:
      refreshTokenStrategy - The strategy used to obtain refresh tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • authorizeRequestParams

      OidcConfig.Builder authorizeRequestParams(Map<String,String> authorizeRequestParams)

      Additional parameters to include in the authorization request.

      Parameters:
      authorizeRequestParams - Additional parameters to include in the authorization request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenRequestParams

      OidcConfig.Builder tokenRequestParams(Map<String,String> tokenRequestParams)

      Additional parameters to include in the token request.

      Parameters:
      tokenRequestParams - Additional parameters to include in the token request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.