Auth constructor
Auth(
- Config _config,
- Attestation attestation
Constructs Auth with config and attestation.
This constructor is typically called internally by the Users class and should not be used directly in application code.
Parameters
_config: The SDK configuration containing API endpoints and settingsattestation: The attestation service for device verification
Implementation
Auth(this._config, Attestation attestation) {
email = Email(_config, attestation, this);
apple = Provider(
UserAuthenticationProvider.apple,
_config,
attestation,
this,
);
google = Provider(
UserAuthenticationProvider.google,
_config,
attestation,
this,
);
}