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.

Copied!
svc=core/create_auth_hash&params={}

The generated hash is valid within 2 minutes from the moment of its creation.

Returned result

Copied!
{
	"authHash":"<text>" 	/* authorization hash value */
}

Error codes:

CodeDescription
9Failed to generate auth hash.
7Failed to check the top level access to the token or failed to access the SDK package.
1Failed to fetch the current user.
Download PDF file
Download Word document

See also