AuthCredentialsProviderFixture class final

Credentials provider with a deterministic, explicitly test-only identity.

Constructors

AuthCredentialsProviderFixture({String email = 'fixture@example.test', String username = 'fixture-user', String password = 'fixture-password-not-a-secret', AuthUser? user})
Creates a credentials fixture.

Properties

authorizationAttempts → List<AuthCredentials>
Redacted authorization attempts.
final
credentials → AuthCredentials
Valid credentials for success-path tests.
no setter
email → String
Test email accepted by provider.
final
hashCode → int
The hash code for this object.
no setterinherited
password → String
Obvious fixture password. It must never be used outside tests.
final
provider ↔ CredentialsProvider
Real credentials provider configured by the fixture.
latefinal
registrationAttempts → List<AuthCredentials>
Redacted registration attempts.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
user → AuthUser
User returned for matching requests.
final
username → String
Test username accepted by provider.
final

Methods

matches(AuthCredentials credentials) → bool
Whether credentials match the fixture identity.
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