sign_in_check_jwt {polished} | R Documentation |
Check the JWT from the user sign in
Description
This function retrieves the JWT created by the JavaScript from sign_in_js
and signs the user in as long as the token can be verified.
This function should be called in the server function of a shiny module. Make sure
to call sign_in_js
in the UI function of this module.
Usage
sign_in_check_jwt(jwt, session = shiny::getDefaultReactiveDomain())
Arguments
jwt |
a reactive returning a Firebase JSON web token for the signed in user. |
session |
the shiny session. |
Value
invisible(NULL)
[Package polished version 0.8.1 Index]