OidcStore class abstract interface

An abstract interface for storing/fetching data.

you can use package:oidc_default_store for a persistent store (for production apps).

or OidcMemoryStore for a memory-only store (for CI/CD or CLI apps).

Inheritance
Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(OidcStoreNamespace namespace, {required String key, String? managerId}) Future<String?>

Available on OidcReadOnlyStore, provided by the OidcReadOnlyStoreExt extension

gets a single key from a namespace.
getAllKeys(OidcStoreNamespace namespace, {String? managerId}) Future<Set<String>>
inherited
getCurrentFrontChannelLogoutRequest() Future<String?>

Available on OidcReadOnlyStore, provided by the OidcReadOnlyStoreExt extension

Gets the current
getCurrentNonce({String? managerId}) Future<String?>

Available on OidcReadOnlyStore, provided by the OidcReadOnlyStoreExt extension

Gets the current state from the session namespace. Gets the current nonce from the session namespace.
getMany(OidcStoreNamespace namespace, {required Set<String> keys, String? managerId}) Future<Map<String, String>>
inherited
getStateData(String state) Future<String?>

Available on OidcReadOnlyStore, provided by the OidcReadOnlyStoreExt extension

Gets the stateData (value) of a state (key).
getStateResponseData(String state) Future<String?>

Available on OidcReadOnlyStore, provided by the OidcReadOnlyStoreExt extension

Gets the stateData (value) of a state (key).
getStatesWithResponses() Future<Map<String, ({String stateData, String stateResponse})>>

Available on OidcReadOnlyStore, provided by the OidcReadOnlyStoreExt extension

init() Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(OidcStoreNamespace namespace, {required String key, String? managerId}) Future<void>

Available on OidcStore, provided by the OidcStoreExt extension

Removes a single key from the store.
removeMany(OidcStoreNamespace namespace, {required Set<String> keys, String? managerId}) Future<void>
removeStateResponseData(String state) Future<void>

Available on OidcStore, provided by the OidcStoreExt extension

Gets the stateData (value) of a state (key).
set(OidcStoreNamespace namespace, {required String key, required String value, String? managerId}) Future<void>

Available on OidcStore, provided by the OidcStoreExt extension

Sets a single key to the store.
setCurrentFrontChannelLogoutRequest(String? value) Future<void>

Available on OidcStore, provided by the OidcStoreExt extension

Gets the current
setCurrentNonce(String? nonce, {String? managerId}) Future<void>

Available on OidcStore, provided by the OidcStoreExt extension

Sets the current nonce from the secureTokens namespace.
setMany(OidcStoreNamespace namespace, {required Map<String, String> values, String? managerId}) Future<void>
setStateData({required String state, required String? stateData}) Future<void>

Available on OidcStore, provided by the OidcStoreExt extension

Sets the stateData (value) of a state (key).
setStateResponseData({required String state, required String? stateData}) Future<void>

Available on OidcStore, provided by the OidcStoreExt extension

Sets the stateData (value) of a state (key).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited