albis.changePassword - ALBIS-GROUP/LeaseKitSDK-JS GitHub Wiki

albis.changePassword([albisNewPassword], [auth0NewPassword], albisToken) ⇒ ResponseChangePassword

changePassword(albisNewPassword, auth0NewPassword, albisToken)

Kind: instance method of Albis
Returns: ResponseChangePassword - response object

Param Type Description
[albisNewPassword] string albis new password (optional)
[auth0NewPassword] string auth0 new password (optional)
albisToken Object object with Albis token, which lets to communicate with Albis API

Example

Albis.changePassword("albisNewPassword", "auth0NewPassword", { token: 12345 })

ResponseChangePassword : Object

Kind: global typedef
Properties

Name Type Description
response.albisPassChangeStatus.id string json rpc lib id
response.albisPassChangeStatus.jsonrpc string json rpc version number ("2.0")
response.albisPassChangeStatus.result string null
response.auth0PassChangeStatus.created_at string date when the user has been created
response.auth0PassChangeStatus.email string user's email (same as login)
response.auth0PassChangeStatus.email_verified boolean is email verified
response.auth0PassChangeStatus.identities Object object with description of user connection
response.auth0PassChangeStatus.name boolean user login name (same as email)
response.auth0PassChangeStatus.nickname boolean user nickname name (same as email without the domain ending)
response.auth0PassChangeStatus.picture string user picture URL (png)
response.auth0PassChangeStatus.updated_at string date of the last update
response.auth0PassChangeStatus.user_id string auth0 user id
response.auth0PassChangeStatus.last_password_reset string date of the last password reset
response.auth0PassChangeStatus.last_ip string ip used for the last connection
response.auth0PassChangeStatus.last_login string date of the last login
response.auth0PassChangeStatus.logins_count number number of total logins of this user
⚠️ **GitHub.com Fallback** ⚠️