pub fn custom_session<F>(
options: CustomSessionOptions,
handler: F,
) -> AuthPluginwhere
F: for<'a> Fn(CustomSessionInput, CustomSessionContext<'a>) -> CustomSessionFuture<'a> + Send + Sync + 'static,Expand description
Create a custom session plugin with options and request-aware handler.