Function use_auth_state

Source
pub fn use_auth_state<'hook>() -> impl 'hook + Hook<Output = Option<OAuth2Context>>
Expand description

Get the authentication state.

ยงNote

When used in function components and hooks, this hook is equivalent to:

pub fn use_auth_state() -> Option<OAuth2Context> {
    /* implementation omitted */
}