Skip to content

/AWS1/CL_IOT=>TESTINVOKEAUTHORIZER()

About TestInvokeAuthorizer

Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the IoT device gateway.

Requires permission to access the TestInvokeAuthorizer action.

Method Signature

IMPORTING

Required arguments:

IV_AUTHORIZERNAME TYPE /AWS1/IOTAUTHORIZERNAME /AWS1/IOTAUTHORIZERNAME

The custom authorizer name.

Optional arguments:

IV_TOKEN TYPE /AWS1/IOTTOKEN /AWS1/IOTTOKEN

The token returned by your custom authentication service.

IV_TOKENSIGNATURE TYPE /AWS1/IOTTOKENSIGNATURE /AWS1/IOTTOKENSIGNATURE

The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.

IO_HTTPCONTEXT TYPE REF TO /AWS1/CL_IOTHTTPCONTEXT /AWS1/CL_IOTHTTPCONTEXT

Specifies a test HTTP authorization request.

IO_MQTTCONTEXT TYPE REF TO /AWS1/CL_IOTMQTTCONTEXT /AWS1/CL_IOTMQTTCONTEXT

Specifies a test MQTT authorization request.

IO_TLSCONTEXT TYPE REF TO /AWS1/CL_IOTTLSCONTEXT /AWS1/CL_IOTTLSCONTEXT

Specifies a test TLS authorization request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTTESTINVOKEAUTHRRSP /AWS1/CL_IOTTESTINVOKEAUTHRRSP