ol_user_pwd_sha256_salt: Set or changes user's password after encryption

Description Usage Arguments Examples

View source: R/users.R

Description

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

Usage

1
2
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

1
2
3
if (interactive()) ol_user_pwd_sha256_salt(onelogin(), 54963040,
safer::encrypt_string("saltpwd"), safer::encrypt_string("saltpwd"),
password_salt = "salt")

onelogin documentation built on Aug. 7, 2019, 5:02 p.m.