create42Token: Create an Oauth2.0 token for 42 API

Description Usage Arguments Value

View source: R/create42Token.R

Description

All those elements can be found in your application page, at https://profile.intra.42.fr/oauth/applications/application_id

Usage

1
create42Token(uid, secret, redirect_uri, cache = TRUE)

Arguments

uid

String - Your application UID

secret

String - Your application secret

redirect_uri

String - Your application redirect uri

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.