Learn R Programming

googleAuthR (version 0.1.0)

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

Description

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

Usage

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; with_shiny