Class: Local

olympe.auth.providers. Local

Locally login authentication provider


new Local(users)

Parameters:
Name Type Description
users Object

Map of user names to md5 hashed password

Implements:

Members


<static, constant> NAME :string

Local 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: