AuthApiKeyClientFixture class final
Safe API-key metadata and one-time issuance payloads for client tests.
Constructors
- AuthApiKeyClientFixture({String userId = 'fixture-user-id', String keyId = 'fixture-key-id'})
-
Creates a deterministic API-key fixture.
const
Properties
Methods
-
issued(
) → Map< String, dynamic> - One-time creation or rotation response with an obvious test-only key.
-
list(
) → Map< String, dynamic> - List response containing only safe metadata.
-
metadata(
{bool active = true}) → Map< String, dynamic> - Public metadata that never contains a raw key or hash.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited