Interface: Provider

olympe.auth. Provider

Authentication provider interface

Methods


<abstract> getName()

Gets the method name

Returns:
Type
string

<abstract> getToken(request, callback)

Gets the token

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

Type Definitions


TokenCallback(error [, token])

Parameters:
Name Type Argument Description
error Error <nullable>

The token will be defined only the error is null

token olympe.auth.Token <optional>