Skip to content

/AWS1/CL_DOAMCPSRVBRERTOKENCFG

Bearer token configuration for MCP server (RFC 6750).

CONSTRUCTOR

IMPORTING

Required arguments:

iv_tokenname TYPE /AWS1/DOASTRING /AWS1/DOASTRING

User friendly bearer token name specified by end user.

iv_tokenvalue TYPE /AWS1/DOATOKENVALUE /AWS1/DOATOKENVALUE

Bearer token value in alphanumeric for authenticating with the service.

Optional arguments:

iv_authorizationheader TYPE /AWS1/DOASTRING /AWS1/DOASTRING

HTTP header name to send the bearer token in requests to the service. Defaults to 'Authorization' per RFC 6750.


Queryable Attributes

tokenName

User friendly bearer token name specified by end user.

Accessible with the following methods

Method Description
GET_TOKENNAME() Getter for TOKENNAME, with configurable default
ASK_TOKENNAME() Getter for TOKENNAME w/ exceptions if field has no value
HAS_TOKENNAME() Determine if TOKENNAME has a value

tokenValue

Bearer token value in alphanumeric for authenticating with the service.

Accessible with the following methods

Method Description
GET_TOKENVALUE() Getter for TOKENVALUE, with configurable default
ASK_TOKENVALUE() Getter for TOKENVALUE w/ exceptions if field has no value
HAS_TOKENVALUE() Determine if TOKENVALUE has a value

authorizationHeader

HTTP header name to send the bearer token in requests to the service. Defaults to 'Authorization' per RFC 6750.

Accessible with the following methods

Method Description
GET_AUTHORIZATIONHEADER() Getter for AUTHORIZATIONHEADER, with configurable default
ASK_AUTHORIZATIONHEADER() Getter for AUTHORIZATIONHEADER w/ exceptions if field has no
HAS_AUTHORIZATIONHEADER() Determine if AUTHORIZATIONHEADER has a value