AuthScimConnectionStore class abstract interface

Complete atomic persistence boundary for managed SCIM connections.

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

createConnection(AuthScimCreateConnectionTransaction transaction) → FutureOr<AuthScimStoredConnectionCreation>
Creates a connection and its initial credential atomically.
deleteForSubject(String subjectId) → FutureOr<void>
Atomically removes every connection and credential owned by subjectId.
deleteForTenant(String tenantId) → FutureOr<void>
Atomically removes every connection and credential in tenantId.
disableConnection(AuthScimConnectionBinding binding, String connectionId, {required DateTime disabledAt}) → FutureOr<AuthScimManagedConnection?>
Disables a connection and revokes all credentials in one transaction.
findConnection(AuthScimConnectionBinding binding, String connectionId) → FutureOr<AuthScimManagedConnection?>
Finds a connection by ID within binding.
issueCredential(AuthScimIssueCredentialTransaction transaction) → FutureOr<AuthScimStoredCredentialIssuance>
Issues a credential atomically and records its replay binding.
listConnections(AuthScimConnectionCatalogQuery query) → FutureOr<AuthScimConnectionPage>
Lists connections matching query.
listCredentials(AuthScimCredentialCatalogQuery query, {required DateTime now}) → FutureOr<AuthScimCredentialPage>
Lists credentials matching query at now.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveCredentialDigest(String digest, {required DateTime now}) → FutureOr<AuthScimConnectionIdentity?>
Resolves and touches one credential in a single transaction.
revokeCredential(AuthScimConnectionBinding binding, String connectionId, String credentialId, {required DateTime revokedAt}) → FutureOr<AuthScimCredentialRecord?>
Revokes one credential within the exact connection binding.
rotateCredential(AuthScimRotateCredentialTransaction transaction) → FutureOr<AuthScimStoredCredentialIssuance?>
Revokes one credential and creates its replacement atomically.
toString() → String
A string representation of this object.
inherited
updateConnection(AuthScimUpdateConnectionTransaction transaction) → FutureOr<AuthScimManagedConnection?>
Updates metadata and atomically revokes credentials outside new scopes.

Operators

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