Skip to main content

login_with_context

Function login_with_context 

Source
pub async fn login_with_context<B: LoginBroker>(
    cfg: &AdminUiConfig,
    sessions: &SessionStore,
    broker: &B,
    request: LoginRequest,
) -> Result<LoginSuccess, UiError>
Expand description

ยงErrors

Returns an error when the request is invalid, authentication or session validation fails, or the broker admin operation reports a failure.