minimal Settings
fun AuthConfigDefaults.minimalSettings(alwaysAutoRefresh: Boolean = false, autoLoadFromStorage: Boolean = false, autoSaveToStorage: Boolean = false, sessionManager: SessionManager? = MemorySessionManager(), codeVerifierCache: CodeVerifierCache? = MemoryCodeVerifierCache(), enableLifecycleCallbacks: Boolean = false)(source)
Deprecated
Use the new minimalConfig function instead
Replace with
minimalConfig()Content copied to clipboard
Applies minimal settings to the AuthConfig. This is useful for server side applications, where you don't need to store the session or code verifier.
Parameters
always Auto Refresh
Whether to always automatically refresh the session, when it expires
auto Load From Storage
Whether to automatically load the session from sessionManager, when Auth is initialized
auto Save To Storage
Whether to automatically save the session to sessionManager, when the session changes
session Manager
The session manager used to store/load the session.
code Verifier Cache
The cache used to store/load the code verifier for the FlowType.PKCE flow.
enable Lifecycle Callbacks
Whether to stop auto-refresh on focus loss, and resume it on focus again. Currently only supported on Android.