onelogin (version 0.2.0)

ol_user_pwd_sha256_salt: Set or changes user's password after encryption

Description

See the API docs for details on how to encrypt the password.

Usage

ol_user_pwd_sha256_salt(con, user_id, password, password_confirmation,
  password_algorithm = "salt+sha256", password_salt = "")

Arguments

con

a 'OneLogin' connection

user_id

user id

password

character, new password

password_confirmation

character, new password

password_algorithm

algorithm, defaults to "salt+sha256"

password_salt

defaults to ""

Examples

Run this code
# NOT RUN {
if (interactive()) ol_user_pwd_sha256_salt(onelogin(), 54963040,
safer::encrypt_string("saltpwd"), safer::encrypt_string("saltpwd"),
password_salt = "salt")
# }

Run the code above in your browser using DataLab