ApiUtility
in package
AbstractYes
Table of Contents
Constants
- API_KEY_LENGTH = 64
- HTTP_HEAD_STRING = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_!-~^|[],.'
- SECRET_LENGTH = 256
Methods
- generateKey() : string
- generateSecret() : string
Constants
API_KEY_LENGTH
private
mixed
API_KEY_LENGTH
= 64
HTTP_HEAD_STRING
private
mixed
HTTP_HEAD_STRING
= '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_!-~^|[],.'
SECRET_LENGTH
private
mixed
SECRET_LENGTH
= 256
Methods
generateKey()
public
static generateKey() : string
Return values
stringgenerateSecret()
public
static generateSecret() : string