@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateOpenIdConnectTokenSelection extends Object implements Serializable, Cloneable, StructuredPojo
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.
This data type is part of a UpdateOpenIdConnectConfiguration structure, which is a parameter to UpdateIdentitySource.
Constructor and Description |
---|
UpdateOpenIdConnectTokenSelection() |
Modifier and Type | Method and Description |
---|---|
UpdateOpenIdConnectTokenSelection |
clone() |
boolean |
equals(Object obj) |
UpdateOpenIdConnectAccessTokenConfiguration |
getAccessTokenOnly()
The OIDC configuration for processing access tokens.
|
UpdateOpenIdConnectIdentityTokenConfiguration |
getIdentityTokenOnly()
The OIDC configuration for processing identity (ID) tokens.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessTokenOnly(UpdateOpenIdConnectAccessTokenConfiguration accessTokenOnly)
The OIDC configuration for processing access tokens.
|
void |
setIdentityTokenOnly(UpdateOpenIdConnectIdentityTokenConfiguration identityTokenOnly)
The OIDC configuration for processing identity (ID) tokens.
|
String |
toString()
Returns a string representation of this object.
|
UpdateOpenIdConnectTokenSelection |
withAccessTokenOnly(UpdateOpenIdConnectAccessTokenConfiguration accessTokenOnly)
The OIDC configuration for processing access tokens.
|
UpdateOpenIdConnectTokenSelection |
withIdentityTokenOnly(UpdateOpenIdConnectIdentityTokenConfiguration identityTokenOnly)
The OIDC configuration for processing identity (ID) tokens.
|
public void setAccessTokenOnly(UpdateOpenIdConnectAccessTokenConfiguration accessTokenOnly)
The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
https://auth.example.com
, and the claim that you want to map to the principal, for example
sub
.
accessTokenOnly
- The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
https://auth.example.com
, and the claim that you want to map to the principal, for example
sub
.public UpdateOpenIdConnectAccessTokenConfiguration getAccessTokenOnly()
The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
https://auth.example.com
, and the claim that you want to map to the principal, for example
sub
.
https://auth.example.com
, and the claim that you want to map to the principal, for example
sub
.public UpdateOpenIdConnectTokenSelection withAccessTokenOnly(UpdateOpenIdConnectAccessTokenConfiguration accessTokenOnly)
The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
https://auth.example.com
, and the claim that you want to map to the principal, for example
sub
.
accessTokenOnly
- The OIDC configuration for processing access tokens. Contains allowed audience claims, for example
https://auth.example.com
, and the claim that you want to map to the principal, for example
sub
.public void setIdentityTokenOnly(UpdateOpenIdConnectIdentityTokenConfiguration identityTokenOnly)
The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
1example23456789
, and the claim that you want to map to the principal, for example sub
.
identityTokenOnly
- The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
1example23456789
, and the claim that you want to map to the principal, for example
sub
.public UpdateOpenIdConnectIdentityTokenConfiguration getIdentityTokenOnly()
The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
1example23456789
, and the claim that you want to map to the principal, for example sub
.
1example23456789
, and the claim that you want to map to the principal, for example
sub
.public UpdateOpenIdConnectTokenSelection withIdentityTokenOnly(UpdateOpenIdConnectIdentityTokenConfiguration identityTokenOnly)
The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
1example23456789
, and the claim that you want to map to the principal, for example sub
.
identityTokenOnly
- The OIDC configuration for processing identity (ID) tokens. Contains allowed client ID claims, for example
1example23456789
, and the claim that you want to map to the principal, for example
sub
.public String toString()
toString
in class Object
Object.toString()
public UpdateOpenIdConnectTokenSelection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.