alepha@docs:~/docs/reference/providers$
cat TokenStorageProvider.md | pretty1 min read
Last commit:
#TokenStorageProvider
#Import
typescript
1import { TokenStorageProvider } from "@alepha/capacitor/core";
#Overview
Where a native app keeps its session tokens.
The web implementation (this class) keeps nothing: a website's session
lives in cookies the server sets, and ReactAuth keeps using them. The
native one is the platform's secure store (iOS Keychain, Android Keystore)
through @aparajita/capacitor-secure-storage.