use_auth_agent

Function use_auth_agent 

Source
pub fn use_auth_agent<'hook, C>() -> impl 'hook + Hook<Output = Option<Agent<C>>>
where C: Client + 'hook,
Expand description

Get the authentication agent.

ยงNote

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

pub fn use_auth_agent<C>() -> Option<Agent<C>>
where
    C: Client,
{
    /* implementation omitted */
}