| getIdentityToken | R Documentation |
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.
getIdentityToken()
A list containing:
The identity token string.
The token expiry time as a POSIXct datetime object.
Throws an error if the token cannot be retrieved.
This function works for any IDE running within a Posit Workbench session, not just RStudio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.