
docs.TokenHookResponse.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of okta-sdk-api Show documentation
Show all versions of okta-sdk-api Show documentation
The Okta Java SDK API .jar provides a Java API that your code can use to make calls to the Okta
API. This .jar is the only compile-time dependency within the Okta SDK project that your code should
depend on. Implementations of this API (implementation .jars) should be runtime dependencies only.
# TokenHookResponse
For the token inline hook, the `commands` and `error` objects that you can return in the JSON payload of your response are defined in the following sections. > **Note:** The size of your response payload must be less than 256 KB.
## Properties
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**commands** | [**List<TokenHookResponseCommandsInner>**](TokenHookResponseCommandsInner.md) | You can use the `commands` object to provide commands to Okta. It's where you can tell Okta to add more claims to the token. The `commands` object is an array, allowing you to send multiple commands. In each array element, there needs to be a `type` property and `value` property. The `type` property is where you specify which of the supported commands you want to execute, and `value` is where you supply an operand for that command. In the case of the token hook type, the `value` property is itself a nested object in which you specify a particular operation, a path to act on, and a value. | [optional] |
|**error** | [**TokenHookResponseError**](TokenHookResponseError.md) | | [optional] |
## Implemented Interfaces
* Serializable
© 2015 - 2025 Weber Informatics LLC | Privacy Policy