Class: LocalToken

olympe.auth.providers. LocalToken

Locally stored token authentication provider


new LocalToken(connector, storage)

Parameters:
Name Type Description
connector olympe.auth.providers.connectors.LocalToken
storage olympe.auth.TokenStorage
Implements:

Members


<static, constant> NAME :string

LocalToken authentication provider name

Type:
  • string

Methods


getName()

Gets the method name

Implements:
Returns:
Type
string

getToken(request, callback)

Gets the token

Parameters:
Name Type Description
request olympe.auth.Request
callback olympe.auth.Provider.TokenCallback
Implements: