Class TokenStore.DefaultStorageTokenStore

java.lang.Object
com.codename1.io.oidc.TokenStore.DefaultStorageTokenStore
All Implemented Interfaces:
TokenStore
Enclosing interface:
TokenStore

public static final class TokenStore.DefaultStorageTokenStore extends Object implements TokenStore
The default store. Serialises the token JSON to Storage under a "cn1.oidc."-prefixed key. Convenient and zero-config, but not encrypted-at-rest -- the underlying storage on Android is the app's internal files directory, which is sandboxed but not protected against a rooted device with backups enabled.
Since:
8.0
  • Constructor Details

    • DefaultStorageTokenStore

      public DefaultStorageTokenStore()
  • Method Details