Interface OidcConfig.Builder

    • Method Detail

      • clientId

        OidcConfig.Builder clientId​(String clientId)

        The OIDC IdP client ID used to configure your private workforce.

        Parameters:
        clientId - The OIDC IdP client ID used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientSecret

        OidcConfig.Builder clientSecret​(String clientSecret)

        The OIDC IdP client secret used to configure your private workforce.

        Parameters:
        clientSecret - The OIDC IdP client secret used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • issuer

        OidcConfig.Builder issuer​(String issuer)

        The OIDC IdP issuer used to configure your private workforce.

        Parameters:
        issuer - The OIDC IdP issuer used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorizationEndpoint

        OidcConfig.Builder authorizationEndpoint​(String authorizationEndpoint)

        The OIDC IdP authorization endpoint used to configure your private workforce.

        Parameters:
        authorizationEndpoint - The OIDC IdP authorization endpoint used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenEndpoint

        OidcConfig.Builder tokenEndpoint​(String tokenEndpoint)

        The OIDC IdP token endpoint used to configure your private workforce.

        Parameters:
        tokenEndpoint - The OIDC IdP token endpoint used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userInfoEndpoint

        OidcConfig.Builder userInfoEndpoint​(String userInfoEndpoint)

        The OIDC IdP user information endpoint used to configure your private workforce.

        Parameters:
        userInfoEndpoint - The OIDC IdP user information endpoint used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logoutEndpoint

        OidcConfig.Builder logoutEndpoint​(String logoutEndpoint)

        The OIDC IdP logout endpoint used to configure your private workforce.

        Parameters:
        logoutEndpoint - The OIDC IdP logout endpoint used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jwksUri

        OidcConfig.Builder jwksUri​(String jwksUri)

        The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.

        Parameters:
        jwksUri - The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scope

        OidcConfig.Builder scope​(String scope)

        An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.

        Parameters:
        scope - An array of string identifiers used to refer to the specific pieces of user data or claims that the client application wants to access.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authenticationRequestExtraParams

        OidcConfig.Builder authenticationRequestExtraParams​(Map<String,​String> authenticationRequestExtraParams)

        A string to string map of identifiers specific to the custom identity provider (IdP) being used.

        Parameters:
        authenticationRequestExtraParams - A string to string map of identifiers specific to the custom identity provider (IdP) being used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.