Interface: SRP

olympe.auth.connectors. SRP

SRP connector interface

Methods


sendSRPLoginStep1(request, callback)

Sends SRP login initialisation message

Parameters:
Name Type Description
request olympe.auth.Request
callback olympe.auth.connectors.SRP.LoginStepCallback

sendSRPLoginStep2(request, callback)

Sends SRP login A and M1 values

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

Type Definitions


LoginStepCallback(error [, salt] [, b])

Parameters:
Name Type Argument Description
error Error <nullable>

The salt and the B number are defined only if the error is null

salt string <optional>
b string <optional>