Class: UserFactor

UserFactor


new UserFactor()

Properties:
Name Type Description
_embedded hash
_links hash
created dateTime
factorType FactorType
id string
lastUpdated dateTime
provider FactorProvider
status FactorStatus
verify VerifyFactorRequest

Extends

Methods


activate(userId, activateFactorRequest)

Parameters:
Name Type Description
userId string
activateFactorRequest ActivateFactorRequest
Returns:
Type
Promise.<UserFactor>

delete(userId)

Parameters:
Name Type Description
userId string

verify(userId, verifyFactorRequest, queryParameters)

Parameters:
Name Type Description
userId string
verifyFactorRequest VerifyFactorRequest
queryParameters object
Returns:
Type
Promise.<VerifyUserFactorResponse>