InMemoryDpopNonceStore class final
The default DpopNonceStore: keeps nonces in memory, scoped per origin (scheme + host + port).
Nonces are short-lived and re-issued freely by servers, so losing them on process restart (unlike the key pair) is expected and safe.
- Implemented types
Constructors
- InMemoryDpopNonceStore()
- Creates an empty InMemoryDpopNonceStore.
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
-
clearNonce(
Uri uri) → Future< void> -
Clears the stored nonce for
uri's origin.override -
getNonce(
Uri uri) → Future< String?> -
Returns the most recently stored nonce for
uri's origin, ornullif none is known yet.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveNonce(
Uri uri, String nonce) → Future< void> -
Stores
nonceas the current nonce foruri's origin, replacing any previous value.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited