Requests a viya oauthtoken

oauth_consul(hostname, consul_token, verbose = FALSE)

Arguments

hostname

string, SAS Viya url

consul_token

consul token uuid

verbose

logical, return print API call information

Value

list of API call request data

See also

Other authentication: refresh_session(), session()

Examples


if (FALSE) { # \dontrun{
token <- oauth_consul("http://myserver.com",
                  consul_token = "47817a5a-3751-4fad-9558-b12b8a702b69") #token is an uuid

} # }