oidc-provider.store

In-memory implementations of storage protocols for development and testing.

Clients should use :client-secret-hash (via oidc-provider.util/hash-client-secret) for credential storage.

create-authorization-code-store

(create-authorization-code-store)

Creates an in-memory InMemoryAuthorizationCodeStore backed by atoms for active codes and consumed-code token records.

create-client-store

(create-client-store)(create-client-store initial-clients)

Creates an in-memory InMemoryClientStore. When called with an initial-clients vector, pre-populates the store with those client configurations keyed by :client-id.

create-token-store

(create-token-store)

Creates an in-memory InMemoryTokenStore with separate atoms for access tokens and refresh tokens.