CorbadoPasskeyBackend class
Implementation of RelyingPartyServer that allows to use Corbado as a relying party.
- Inheritance
-
- Object
- RelyingPartyServer<
AuthRequest, AuthResponse> - CorbadoPasskeyBackend
Constructors
- CorbadoPasskeyBackend(String _projectID, {@Deprecated('customDomain no longer needs to be set') String? customDomain})
- Sets up the client for the Corbado API.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildClient(
) → Future< ApiClient> - Builds an API client to interact with the Corbado frontend API. Depending on the platform different headers will be set.
-
completeAuthenticate(
AuthenticationCompleteRequest request) → Future< AuthResponse> -
Completes the authentication by sending the solution to the challenge
back.
override
-
completeRegister(
RegistrationCompleteRequest request) → Future< AuthResponse> -
Completes the registration by sending the solution to the challenge back.
override
-
init(
) → Future< void> - Initializes the client by setting all required headers
-
initAuthenticate(
AuthRequest request) → Future< AuthenticationInitResponse> -
Initiates the authentication by asking for a challenge.
override
-
initAuthenticateWithAutoComplete(
AuthRequest request) → Future< AuthenticationInitResponse> -
Initiates the authentication by asking for a challenge.
Can be implemented if the relying party server provides a different
endpoint for autocompleted sign ins.
override
-
initRegister(
AuthRequest request) → Future< RegistrationInitResponse> -
Initiates the registration by asking for a challenge.
override
-
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