Interface OpenIdConnectConfiguration.Builder

    • Method Detail

      • issuer

        OpenIdConnectConfiguration.Builder issuer​(String issuer)

        The issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path .well-known/openid-configuration.

        Parameters:
        issuer - The issuer URL of an OIDC identity provider. This URL must have an OIDC discovery endpoint at the path .well-known/openid-configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entityIdPrefix

        OpenIdConnectConfiguration.Builder entityIdPrefix​(String entityIdPrefix)

        A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an entityIdPrefix of MyOIDCProvider, you can reference principals in your policies in the format MyCorp::User::MyOIDCProvider|Carlos.

        Parameters:
        entityIdPrefix - A descriptive string that you want to prefix to user entities from your OIDC identity provider. For example, if you set an entityIdPrefix of MyOIDCProvider, you can reference principals in your policies in the format MyCorp::User::MyOIDCProvider|Carlos.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupConfiguration

        OpenIdConnectConfiguration.Builder groupConfiguration​(OpenIdConnectGroupConfiguration groupConfiguration)

        The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a groups claim to MyCorp::UserGroup.

        Parameters:
        groupConfiguration - The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a groups claim to MyCorp::UserGroup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenSelection

        OpenIdConnectConfiguration.Builder tokenSelection​(OpenIdConnectTokenSelection tokenSelection)

        The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.

        Parameters:
        tokenSelection - The token type that you want to process from your OIDC identity provider. Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.