create_auth_hash
The create_auth_hash function is used to create an authorization hash.
The combination of the create_auth_hash and use_auth_hash functions can be used instead of the duplicate function.
svc=core/create_auth_hash¶ms={}
The generated hash is valid within 2 minutes from the moment of its creation.
Returned result
{
"authHash":"<text>" /* authorization hash value */
}
Error codes:
Code | Description |
---|---|
9 | Failed to generate auth hash. |
7 | Failed to check the top level access to the token or failed to access the SDK package. |
1 | Failed to fetch the current user. |