Property | Type | Description | |
---|---|---|---|
$dates | |||
$fillable | |||
$table |
Method | Description | |
---|---|---|
generateKey ( ) : string | A sure method to generate a unique API key | |
getByKey ( $key, integer $rememberApiKeyDuration ) : |
||
make ( null $userId = null, integer $level = 10, boolean $ignoreLimits = false ) : static | Make an ApiKey |
Method | Description | |
---|---|---|
keyExists ( $key ) : boolean | Checks whether a key exists in the database or not |
public static generateKey ( ) : string | ||
return | string |