authReturnCode: Returns the authentication parameter "code" in redirected...

Description Usage Arguments Value See Also

View source: R/googleAuthR_shiny.R

Description

Checks the URL of the Shiny app to get the state and code URL parameters.

Usage

1
authReturnCode(session, securityCode = getOption("googleAuthR.securitycode"))

Arguments

session

A shiny session object

securityCode

A random string to check the auth comes form the same origin.

Value

The Google auth token in the code URL parameter.

See Also

Other shiny auth functions: createCode, gar_shiny_getAuthUrl, gar_shiny_getToken, gar_shiny_getUrl, loginOutput, reactiveAccessToken, renderLogin, revokeEventObserver, with_shiny


yinscapital/googleAuthR-reference documentation built on May 3, 2019, 4:31 p.m.