Skip to content

Automatically use new token #7

@harrisonhjones

Description

@harrisonhjones

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions