Interface OpenIDConnectConfig.Builder

    • Method Detail

      • issuer

        OpenIDConnectConfig.Builder issuer​(String issuer)

        The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.

        Parameters:
        issuer - The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientId

        OpenIDConnectConfig.Builder clientId​(String clientId)

        The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.

        Parameters:
        clientId - The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iatTTL

        OpenIDConnectConfig.Builder iatTTL​(Long iatTTL)

        The number of milliseconds that a token is valid after it's issued to a user.

        Parameters:
        iatTTL - The number of milliseconds that a token is valid after it's issued to a user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authTTL

        OpenIDConnectConfig.Builder authTTL​(Long authTTL)

        The number of milliseconds that a token is valid after being authenticated.

        Parameters:
        authTTL - The number of milliseconds that a token is valid after being authenticated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.