create42TokenfromJSON: Create an Oauth2.0 token for 42 API using a credential files

Description Usage Arguments Value

View source: R/create42Token.R

Description

See create42Token to know what variables are needed.

Usage

1
create42TokenfromJSON(credentials, cache = TRUE)

Arguments

credentials

String - path to your credentials JSON file or valid JSON string

cache

A logical value or a string. TRUE means to cache using the default cache file .httr-oauth, FALSE means don't cache, and NA means to guess using some sensible heuristics. A string mean use the specified path as the cache file.

Value

A Token2.0 reference class (RC) object, specific to 42.


MiloParigi/R42Api documentation built on May 4, 2019, 3:16 p.m.