make_credentials: Attempts to create DECAF API client credentials from given...

View source: R/decaf_auth.R

make_credentialsR Documentation

Attempts to create DECAF API client credentials from given arguments.

Description

Attempts to create DECAF API client credentials from given arguments.

Usage

make_credentials(
  username = NULL,
  password = NULL,
  apikey = NULL,
  apisecret = NULL,
  token = NULL,
  header = NULL
)

Arguments

username

Username of "Basic Authentication" method.

password

Password of "Basic Authentication" method.

apikey

API key of "API Key" method.

apisecret

API secret of "API Key" method.

token

Token value of "API Token" method.

header

Authorization header value to be used as is.

Value

An instance of 'decaf.client.credentials' S3 class with type attribute set to one of BASIC, APIKEY, TOKEN or HEADER.


telostat/rdecaf documentation built on June 22, 2022, 8:35 p.m.