-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Allow users to automatically grab a new access token and set that as their active token.
Flow would be something like this:
$obj->setAuth($email, $password);
$obj->useNewToken($clearAuth=true);
useNewToken essentially would do the following:
$token = createToken()
setToken($token)
and (if $clearAuth == true) clearAuth()
Thoughts?