decrypt_token.Rd
Decrypt an encrypted token file
decrypt_token(service, path, complete = FALSE)
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 |
Either the raw bytes of the decrypted file or a character string to
pass into authentication functions such as boxr::box_auth()
.