Security & identity
Plugin.Maui.SecureSession
Access/refresh tokens, 401 retry, biometrics, multi-device
Session ownership for MAUI: login, refresh, expiry, logout, multi-device revoke, and biometric unlock — tokens persist in SecureStoragePlus.
Install
dotnet add package Plugin.Maui.SecureSessionPackage ID: Plugin.Maui.SecureSession
Overview
Plugin.Maui.SecureSession owns the authentication session: login, Bearer attachment, single-flight refresh on 401 or near-expiry, rotating refresh tokens, idle and absolute timeouts, this-device or all-device logout, multi-device list/revoke, and biometric unlock after lock or process death. Persistence is delegated to SecureStoragePlus.
Capabilities
- Login and GetAccessTokenAsync.
- Automatic 401 refresh and retry.
- Logout this device or every device.
- Multi-device session list and revoke.
- Face ID / fingerprint unlock.
- .NET MAUI
- Auth
- Tokens
- Biometrics