Skip to contents

Token Class

Format

An R6Class generator object

Public fields

token

character [optional]

name

character [optional]

issued_at

character [optional]

expires_at

character [optional]

scope

character [optional]

Methods


Method new()

Usage

Token$new(
  token = NULL,
  name = NULL,
  issued_at = NULL,
  expires_at = NULL,
  scope = "*",
  ...
)


Method toJSON()

Usage

Token$toJSON()


Method fromJSON()

Usage

Token$fromJSON(TokenJson)


Method toJSONString()

Usage

Token$toJSONString()


Method fromJSONString()

Usage

Token$fromJSONString(TokenJson)


Method clone()

The objects of this class are cloneable with this method.

Usage

Token$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.