OAuthPopupHandler

Trait OAuthPopupHandler 

Source
pub trait OAuthPopupHandler: Send + Sync {
    // Required method
    fn open_popup(&self, request: OAuthRequest) -> AuthResult<AuthCredential>;
}
Expand description

Handles OAuth popup operations for interactive sign-in flows.

Implementations should open a browser window/dialog, complete the authorization handshake, and return an crate::auth::model::AuthCredential produced from the provider response. The handler is free to block the current thread or spawn an async task; the library does not impose scheduling requirements.

Required Methods§

Implementors§