Interface OpenIDConnectConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OpenIDConnectConfig.Builder,OpenIDConnectConfig>, SdkBuilder<OpenIDConnectConfig.Builder,OpenIDConnectConfig>, SdkPojo
Enclosing class:
OpenIDConnectConfig

public static interface OpenIDConnectConfig.Builder extends SdkPojo, CopyableBuilder<OpenIDConnectConfig.Builder,OpenIDConnectConfig>
  • Method Details

    • 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

      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

      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.