@Generated(value="software.amazon.awssdk:codegen") public final class IsAuthorizedWithTokenRequest extends VerifiedPermissionsRequest implements ToCopyableBuilder<IsAuthorizedWithTokenRequest.Builder,IsAuthorizedWithTokenRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
IsAuthorizedWithTokenRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
Specifies an access token for the principal to be authorized.
|
ActionIdentifier |
action()
Specifies the requested action to be authorized.
|
static IsAuthorizedWithTokenRequest.Builder |
builder() |
ContextDefinition |
context()
Specifies additional context that can be used to make more granular authorization decisions.
|
EntitiesDefinition |
entities()
Specifies the list of entities and their associated attributes that Verified Permissions can examine when
evaluating the policies.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identityToken()
Specifies an identity token for the principal to be authorized.
|
String |
policyStoreId()
Specifies the ID of the policy store.
|
EntityIdentifier |
resource()
Specifies the resource for which the authorization decision is made.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IsAuthorizedWithTokenRequest.Builder> |
serializableBuilderClass() |
IsAuthorizedWithTokenRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyStoreId()
Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.
public final String identityToken()
Specifies an identity token for the principal to be authorized. This token is provided to you by the identity
provider (IdP) associated with the specified identity source. You must specify either an AccessToken
or an IdentityToken, but not both.
AccessToken or an IdentityToken, but not both.public final String accessToken()
Specifies an access token for the principal to be authorized. This token is provided to you by the identity
provider (IdP) associated with the specified identity source. You must specify either an AccessToken
or an IdentityToken, but not both.
AccessToken or an IdentityToken, but not both.public final ActionIdentifier action()
Specifies the requested action to be authorized. Is the specified principal authorized to perform this action on the specified resource.
public final EntityIdentifier resource()
Specifies the resource for which the authorization decision is made. For example, is the principal allowed to perform the action on the resource?
public final ContextDefinition context()
Specifies additional context that can be used to make more granular authorization decisions.
public final EntitiesDefinition entities()
Specifies the list of entities and their associated attributes that Verified Permissions can examine when evaluating the policies.
public IsAuthorizedWithTokenRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IsAuthorizedWithTokenRequest.Builder,IsAuthorizedWithTokenRequest>toBuilder in class VerifiedPermissionsRequestpublic static IsAuthorizedWithTokenRequest.Builder builder()
public static Class<? extends IsAuthorizedWithTokenRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.