odin_token_generator_get_key_id
Overview
Extracts the key ID from the access key used by the specified token generator. The key ID is embedded in room tokens, enabling the identification of the corresponding public key required for verification.
Parameters
| Name | Type | Description |
|---|---|---|
token_generator | struct OdinTokenGenerator * | The token generator handle. |
out_key_id | char * | Buffer to write the key ID to. |
out_key_id_length | uint32_t * | Input: buffer size, Output: actual ID length. |
Return Value
| Type | Description |
|---|---|
OdinError | ODIN_ERROR_SUCCESS on success. |