AuthState-class: Authorization state

Description Usage Format

Description

An AuthState object manages an authorization state, typically on behalf of a client package that makes requests to a Google API.

The How to use gargle for auth in a client package vignette describes a design for wrapper packages that relies on an AuthState object. This state can then be incorporated into the package's requests for tokens and can control the inclusion of tokens in requests to the target API.

An AuthState should be created through the constructor function init_AuthState().

Usage

1

Format

An R6 class object.


r-pkgs/gargle documentation built on Aug. 20, 2019, 8:42 a.m.