@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenIDConnectConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes an OpenID Connect (OIDC) configuration.
Constructor and Description |
---|
OpenIDConnectConfig() |
Modifier and Type | Method and Description |
---|---|
OpenIDConnectConfig |
clone() |
boolean |
equals(Object obj) |
Long |
getAuthTTL()
The number of milliseconds that a token is valid after being authenticated.
|
String |
getClientId()
The client identifier of the relying party at the OpenID identity provider.
|
Long |
getIatTTL()
The number of milliseconds that a token is valid after it's issued to a user.
|
String |
getIssuer()
The issuer for the OIDC configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthTTL(Long authTTL)
The number of milliseconds that a token is valid after being authenticated.
|
void |
setClientId(String clientId)
The client identifier of the relying party at the OpenID identity provider.
|
void |
setIatTTL(Long iatTTL)
The number of milliseconds that a token is valid after it's issued to a user.
|
void |
setIssuer(String issuer)
The issuer for the OIDC configuration.
|
String |
toString()
Returns a string representation of this object.
|
OpenIDConnectConfig |
withAuthTTL(Long authTTL)
The number of milliseconds that a token is valid after being authenticated.
|
OpenIDConnectConfig |
withClientId(String clientId)
The client identifier of the relying party at the OpenID identity provider.
|
OpenIDConnectConfig |
withIatTTL(Long iatTTL)
The number of milliseconds that a token is valid after it's issued to a user.
|
OpenIDConnectConfig |
withIssuer(String issuer)
The issuer for the OIDC configuration.
|
public void setIssuer(String issuer)
The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of
iss
in the ID token.
issuer
- The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of
iss
in the ID token.public String getIssuer()
The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of
iss
in the ID token.
iss
in the ID token.public OpenIDConnectConfig withIssuer(String issuer)
The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of
iss
in the ID token.
issuer
- The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of
iss
in the ID token.public void setClientId(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.
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.public String getClientId()
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.
public OpenIDConnectConfig withClientId(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.
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.public void setIatTTL(Long iatTTL)
The number of milliseconds that a token is valid after it's issued to a user.
iatTTL
- The number of milliseconds that a token is valid after it's issued to a user.public Long getIatTTL()
The number of milliseconds that a token is valid after it's issued to a user.
public OpenIDConnectConfig withIatTTL(Long iatTTL)
The number of milliseconds that a token is valid after it's issued to a user.
iatTTL
- The number of milliseconds that a token is valid after it's issued to a user.public void setAuthTTL(Long authTTL)
The number of milliseconds that a token is valid after being authenticated.
authTTL
- The number of milliseconds that a token is valid after being authenticated.public Long getAuthTTL()
The number of milliseconds that a token is valid after being authenticated.
public OpenIDConnectConfig withAuthTTL(Long authTTL)
The number of milliseconds that a token is valid after being authenticated.
authTTL
- The number of milliseconds that a token is valid after being authenticated.public String toString()
toString
in class Object
Object.toString()
public OpenIDConnectConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.