get_current_token: Get current active token

Description Usage Arguments Value Examples

Description

Get current active token

Usage

1
get_current_token(only_access_token = F)

Arguments

only_access_token

logical. Default to FALSE

Value

If TRUE, just the token string is returned not the whole token object. If no token is available, for the current session, it returns NULL

Examples

1
2
get_current_token() # Returns NULL or token object credentials
get_current_token(TRUE) # Returns NULL or access token string only.

cderv/opendatarte documentation built on June 18, 2019, 6:41 p.m.