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 usernamestring Username
passwordstring User password
Returns:
-
getName()
-
Gets the method name
- Implements:
Returns:
- Type
- string
-
getToken(request, callback)
-
Gets the token
Parameters:
Name Type Description requestolympe.auth.Request callbackolympe.auth.Provider.TokenCallback - Implements:
Type Definitions
-
AuthData
-
Type:
- Object
Properties:
Name Type Description usernamestring Username
loginstring User login
saltstring Random salt
verifierstring User password verifier
Olympe SDK