| state_payload_decrypt_validate | R Documentation |
Internal utility that decrypts the encrypted state payload using the
client's state_key, then validates freshness and client binding. Used by
callback handling before the code exchange continues.
state_payload_decrypt_validate(
client,
encrypted_payload,
shiny_session = NULL,
audit_success = FALSE
)
client |
OAuthClient instance |
encrypted_payload |
Encrypted state payload string received via the
|
shiny_session |
Optional pre-captured Shiny session context (from
|
audit_success |
Whether successful payload validation should emit the
standard callback validation audit event. Defaults to |
A named list payload (state, client_id, redirect_uri, scopes,
provider, client_policy, issued_at) on success; otherwise throws an error
via err_invalid_state().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.