create
Factory method to create a UserTokenStore using the application context's private preferences.
Return
A configured UserTokenStore instance.
Example:
val store = UserTokenStore.create(applicationContext)Content copied to clipboard
Parameters
context
An Android Context (e.g., android.app.Application or android.app.Activity). The application context is automatically extracted to prevent memory leaks.