odin_token_generator_create
Creates a new token generator instance.
warning
Make sure to destroy the token generator instance when it is no longer needed to avoid memory leaks.
Use odin_token_generator_destroy
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
token_generator | struct OdinTokenGenerator * | The token generator instance. |
access_key | const char * | The access key to use. If NULL, one is generated. |
out_token_generator | struct OdinTokenGenerator ** | Pointer to receive the new generator handle. |
Return Value
| Type | Description |
|---|---|
OdinError | ODIN_ERROR_SUCCESS on success. |