Skip to main content

oauth_context

Function oauth_context 

Source
pub fn oauth_context(
    existing: Option<&Value>,
    granted: &[String],
    claims: Option<&IdTokenClaims>,
    client: &ResolvedClient,
) -> Value
Expand description

The account’s non-secret context after a successful flow: what was there before, plus the granted scopes, the client it was made with (D8), and the email and user id from the ID token.