Class: Aws::VerifiedPermissions::Types::BatchIsAuthorizedWithTokenInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::BatchIsAuthorizedWithTokenInput
- Defined in:
- gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:identity_token, :access_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
Specifies an access token for the principal that you want to authorize in each request.
-
#entities ⇒ Types::EntitiesDefinition
Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.
-
#identity_token ⇒ String
Specifies an identity (ID) token for the principal that you want to authorize in each request.
-
#policy_store_id ⇒ String
Specifies the ID of the policy store.
-
#requests ⇒ Array<Types::BatchIsAuthorizedWithTokenInputItem>
An array of up to 30 requests that you want Verified Permissions to evaluate.
Instance Attribute Details
#access_token ⇒ String
Specifies an access token for the principal that you want to
authorize in each request. This token is provided to you by the
identity provider (IdP) associated with the specified identity
source. You must specify either an accessToken
, an
identityToken
, or both.
Must be an access token. Verified Permissions returns an error if
the token_use
claim in the submitted token isn't access
.
332 333 334 335 336 337 338 339 340 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 332 class BatchIsAuthorizedWithTokenInput < Struct.new( :policy_store_id, :identity_token, :access_token, :entities, :requests) SENSITIVE = [:identity_token, :access_token] include Aws::Structure end |
#entities ⇒ Types::EntitiesDefinition
Specifies the list of resources and their associated attributes that Verified Permissions can examine when evaluating the policies.
You can't include principals in this parameter, only resource and action entities. This parameter can't include any entities of a type that matches the user or group entity types that you defined in your identity source.
The
BatchIsAuthorizedWithToken
operation takes principal attributes from only theidentityToken
oraccessToken
passed to the operation.For action entities, you can include only their
Identifier
andEntityType
.
332 333 334 335 336 337 338 339 340 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 332 class BatchIsAuthorizedWithTokenInput < Struct.new( :policy_store_id, :identity_token, :access_token, :entities, :requests) SENSITIVE = [:identity_token, :access_token] include Aws::Structure end |
#identity_token ⇒ String
Specifies an identity (ID) token for the principal that you want to
authorize in each request. This token is provided to you by the
identity provider (IdP) associated with the specified identity
source. You must specify either an accessToken
, an
identityToken
, or both.
Must be an ID token. Verified Permissions returns an error if the
token_use
claim in the submitted token isn't id
.
332 333 334 335 336 337 338 339 340 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 332 class BatchIsAuthorizedWithTokenInput < Struct.new( :policy_store_id, :identity_token, :access_token, :entities, :requests) SENSITIVE = [:identity_token, :access_token] include Aws::Structure end |
#policy_store_id ⇒ String
Specifies the ID of the policy store. Policies in this policy store will be used to make an authorization decision for the input.
332 333 334 335 336 337 338 339 340 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 332 class BatchIsAuthorizedWithTokenInput < Struct.new( :policy_store_id, :identity_token, :access_token, :entities, :requests) SENSITIVE = [:identity_token, :access_token] include Aws::Structure end |
#requests ⇒ Array<Types::BatchIsAuthorizedWithTokenInputItem>
An array of up to 30 requests that you want Verified Permissions to evaluate.
332 333 334 335 336 337 338 339 340 |
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 332 class BatchIsAuthorizedWithTokenInput < Struct.new( :policy_store_id, :identity_token, :access_token, :entities, :requests) SENSITIVE = [:identity_token, :access_token] include Aws::Structure end |