$ident
$ident : string
Authorization token; to keep a user logged in
setIdent(string $ident) : \Charcoal\User\AuthToken
string | $ident | The token ident. |
Chainable
setToken(string $token) : \Charcoal\User\AuthToken
string | $token | The token. |
Chainable
generate(string $username) : \Charcoal\User\AuthToken
Note: the `random_bytes()` function is new to PHP-7. Available in PHP 5 with `compat-random`.
string | $username | The username to generate the auth token from. |
Chainable
sendCookie() : \Charcoal\User\AuthToken
Chainable