AuthCaptchaClient class final

Typed credential operations protected by one captcha token per request.

Constructors

AuthCaptchaClient(AuthClientCore _core, {String provider = 'credentials'})
Creates a captcha-aware client.

Properties

hashCode → int
The hash code for this object.
no setterinherited
provider → String
Provider identifier sent with credential requests.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register({required String password, required String captchaToken, String? email, String? username, Map<String, dynamic>? attributes}) → Future<AuthSession>
Registers credentials and submits captchaToken for verification.
signIn({required String password, required String captchaToken, String? email, String? username, Map<String, dynamic>? attributes}) → Future<AuthSession>
Signs in with credentials and submits captchaToken for verification.
toString() → String
A string representation of this object.
inherited

Operators

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