@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateOpenIdConnectAccessTokenConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of an OpenID Connect (OIDC) identity source for handling access token claims. Contains the claim
that you want to identify as the principal in an authorization request, and the values of the aud claim,
or audiences, that you want to accept.
This data type is part of a UpdateOpenIdConnectTokenSelection structure, which is a parameter to UpdateIdentitySource.
| Constructor and Description |
|---|
UpdateOpenIdConnectAccessTokenConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
UpdateOpenIdConnectAccessTokenConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAudiences()
The access token
aud claim values that you want to accept in your policy store. |
String |
getPrincipalIdClaim()
The claim that determines the principal in OIDC access tokens.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAudiences(Collection<String> audiences)
The access token
aud claim values that you want to accept in your policy store. |
void |
setPrincipalIdClaim(String principalIdClaim)
The claim that determines the principal in OIDC access tokens.
|
String |
toString()
Returns a string representation of this object.
|
UpdateOpenIdConnectAccessTokenConfiguration |
withAudiences(Collection<String> audiences)
The access token
aud claim values that you want to accept in your policy store. |
UpdateOpenIdConnectAccessTokenConfiguration |
withAudiences(String... audiences)
The access token
aud claim values that you want to accept in your policy store. |
UpdateOpenIdConnectAccessTokenConfiguration |
withPrincipalIdClaim(String principalIdClaim)
The claim that determines the principal in OIDC access tokens.
|
public UpdateOpenIdConnectAccessTokenConfiguration()
public void setPrincipalIdClaim(String principalIdClaim)
The claim that determines the principal in OIDC access tokens. For example, sub.
principalIdClaim - The claim that determines the principal in OIDC access tokens. For example, sub.public String getPrincipalIdClaim()
The claim that determines the principal in OIDC access tokens. For example, sub.
sub.public UpdateOpenIdConnectAccessTokenConfiguration withPrincipalIdClaim(String principalIdClaim)
The claim that determines the principal in OIDC access tokens. For example, sub.
principalIdClaim - The claim that determines the principal in OIDC access tokens. For example, sub.public List<String> getAudiences()
The access token aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.
aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.public void setAudiences(Collection<String> audiences)
The access token aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.
audiences - The access token aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.public UpdateOpenIdConnectAccessTokenConfiguration withAudiences(String... audiences)
The access token aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.
NOTE: This method appends the values to the existing list (if any). Use
setAudiences(java.util.Collection) or withAudiences(java.util.Collection) if you want to
override the existing values.
audiences - The access token aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.public UpdateOpenIdConnectAccessTokenConfiguration withAudiences(Collection<String> audiences)
The access token aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.
audiences - The access token aud claim values that you want to accept in your policy store. For example,
https://myapp.example.com, https://myapp2.example.com.public String toString()
toString in class ObjectObject.toString()public UpdateOpenIdConnectAccessTokenConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.