Skip to content

/AWS1/CL_TCEREGRCOAUTHCREDPVDR

The configuration for an OAuth 2.0 credential provider that authenticates requests to a registry record's source.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_providerarn TYPE /AWS1/TCECREDENTIALPROVIDERARN /AWS1/TCECREDENTIALPROVIDERARN

The Amazon Resource Name (ARN) of the OAuth 2.0 credential provider resource in Amazon Bedrock AgentCore Identity.

Optional arguments:

iv_granttype TYPE /AWS1/TCEREGRECOAUTHGRANTTYPE /AWS1/TCEREGRECOAUTHGRANTTYPE

The OAuth 2.0 grant type used to obtain access tokens.

it_scopes TYPE /AWS1/CL_TCESCOPELIST_W=>TT_SCOPELIST TT_SCOPELIST

The OAuth 2.0 scopes to request when obtaining access tokens.

it_customparameters TYPE /AWS1/CL_TCECUSTOMPARAMMAP_W=>TT_CUSTOMPARAMETERMAP TT_CUSTOMPARAMETERMAP

Additional parameters to include in the OAuth 2.0 token request.


Queryable Attributes

providerArn

The Amazon Resource Name (ARN) of the OAuth 2.0 credential provider resource in Amazon Bedrock AgentCore Identity.

Accessible with the following methods

Method Description
GET_PROVIDERARN() Getter for PROVIDERARN, with configurable default
ASK_PROVIDERARN() Getter for PROVIDERARN w/ exceptions if field has no value
HAS_PROVIDERARN() Determine if PROVIDERARN has a value

grantType

The OAuth 2.0 grant type used to obtain access tokens.

Accessible with the following methods

Method Description
GET_GRANTTYPE() Getter for GRANTTYPE, with configurable default
ASK_GRANTTYPE() Getter for GRANTTYPE w/ exceptions if field has no value
HAS_GRANTTYPE() Determine if GRANTTYPE has a value

scopes

The OAuth 2.0 scopes to request when obtaining access tokens.

Accessible with the following methods

Method Description
GET_SCOPES() Getter for SCOPES, with configurable default
ASK_SCOPES() Getter for SCOPES w/ exceptions if field has no value
HAS_SCOPES() Determine if SCOPES has a value

customParameters

Additional parameters to include in the OAuth 2.0 token request.

Accessible with the following methods

Method Description
GET_CUSTOMPARAMETERS() Getter for CUSTOMPARAMETERS, with configurable default
ASK_CUSTOMPARAMETERS() Getter for CUSTOMPARAMETERS w/ exceptions if field has no va
HAS_CUSTOMPARAMETERS() Determine if CUSTOMPARAMETERS has a value