decrypt_token: Decrypt an encrypted token file

Description Usage Arguments Value

View source: R/func_encrypt.R

Description

Decrypt an encrypted token file

Usage

1
decrypt_token(service, path, complete = FALSE)

Arguments

service

Identifier of the service whose token will be encrypted.

path

The location of the encrypted token file.

complete

Logical: FALSE by default and will return decrypted raw bytes. TRUE and will decrypt to character string via base::rawToChar().

Value

Either the raw bytes of the decrypted file or a character string to pass into authentication functions such as boxr::box_auth().


jdtrat/tokencodr documentation built on Dec. 20, 2021, 10:06 p.m.