Learn R Programming

rstudioapi (version 0.18.0)

getIdentityToken: Get the User's Identity Token

Description

Retrieve the user's OpenID Connect identity token for the current Posit Workbench session, if any. This token can be used to authenticate with services that trust Workbench's identity provider.

Usage

getIdentityToken()

Arguments

Value

A list containing:

token

The identity token string.

expiry

The token expiry time as a POSIXct datetime object.

Throws an error if the token cannot be retrieved.