corbado_auth library

Corbado auth flutter package

Classes

AllowCredential
BackendMessage
Represents a message from a Corbado API
BackendValidationError
Represents a backend validation error
CorbadoAuth
The Cobardo Auth SDK helps you with bringing passkey authentication to your app.
CorbadoAuthConfig
CorbadoAuthenticatorSelection
CorbadoRelyingParty
CorbadoUser
CustomCorbadoAuth
The Cobardo Auth SDK helps you with bringing passkey authentication to your app.
ExceptionFactory
Factory for creating exceptions from backend messages
FinishLoginPlatformResponse
FinishLoginRequest
FinishRegisterPlatformResponse
FinishRegisterRequest
IdToken
JWT token that is returned from Corbado's API after signIn and signUp.
PasskeyInfo
StartLoginPublicKey
StartLoginResponse
StartRegisterPubKeyCredParam
StartRegisterPublicKey
StartRegisterResponse
User
The central user object of the Corbado Auth SDK.

Enums

AuthState
CorbadoField
Form fields

Exceptions / Errors

AuthenticatorException
Used as a base exception for all authenticator exceptions thrown by this package.
ConditionalUiUnconfirmedCredential
Exception thrown when a user that has not yet confirmed his account wants to use a passkey for login.
CorbadoException
ExcludeCredentialsCanNotBeRegisteredException
This exception is thrown when the user tries to login but is not logged in to a Google account on his device. Being logged in to a Google account is mandatory for passkeys to work on Android devices.
FieldWithInvalidValueException
Exception thrown when a field contains an invalid value
InvalidOTPCodeException
Exception thrown when the submitted OTP code is wrong
InvalidPasskeyException
Exception thrown when the submitted OTP code is wrong
InvalidUsernameException
Exception thrown when the username (usually an email address) is invalid
MissingGoogleSignInException
This exception is thrown when the user tries to login but is not logged in to a Google account on his device. Being logged in to a Google account is mandatory for passkeys to work on Android devices.
NoCredentialsAvailableException
This exception is thrown when the user tries to login but does not have any credentials available for the authenticator.
NoOTPChallengeStartedException
Exception thrown when the submitted OTP code is wrong
NoPasskeyForDeviceException
Exception thrown when no passkey is available for the device
PasskeyAlreadyExistsException
Exception thrown when the user already has a passkey that is available on the current device
PasskeyAuthCancelledException
Thrown when the user cancels the passkey flow.
RequiredFieldEmptyException
Exception thrown when one of the required fields is empty
SyncAccountNotAvailableException
This exception is thrown when the passkey can not be retrieved from the entity that is used for passkey syncing. Currently this error is observed when testing on Android emulators. In these cases you need to restart the emulator using the 'Cold Boot Now' option.
UnexpectedBackendException
Exception thrown when the backend returns an unexpected response
UnhandledAuthenticatorException
This exception is thrown when an exception is thrown by the authenticator that we do not handle so far in this package.
UnknownUserException
Exception thrown when the user is unknown
UserAlreadyExistsException
Exception thrown when the user already exists
ValidationException
Represents a validation exception