Namespace: Auth

Auth

Google authorization utilities

Source:
See:

Methods


<static> getToken(interactive) → {Promise.<string>}

Get our OAuth2.0 token

Parameters:
Name Type Description
interactive boolean

if true may block

Source:
Returns:

An access token

Type
Promise.<string>

<static> removeCachedToken( [curToken]) → {Promise.<string>}

Remove our cached auth token

Parameters:
Name Type Argument Default Description
curToken string | null <optional>
null

token to remove

Source:
Returns:

the old token

Type
Promise.<string>