Class: SRP

olympe.auth.providers. SRP

SRP authentication provider


new SRP(connector)

Parameters:
Name Type Description
connector olympe.auth.providers.connectors.SRP
Implements:

Members


<static, constant> NAME :string

SRP authentication provider name

Type:
  • string

Methods


<static> generateAuthData(username, password)

Generates the required authentication data for SRP based on a login and password

Parameters:
Name Type Description
username string

Username

password string

User password

Returns:
Type
olympe.auth.providers.SRP.AuthData

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:

Type Definitions


AuthData

Type:
  • Object
Properties:
Name Type Description
username string

Username

login string

User login

salt string

Random salt

verifier string

User password verifier