Abstract
Abstract
requestSpecifies the additional request headers that must be included in the HTTP requests sent by the operation.
the HTTP headers.
an HttpOperation object.
Abstract
executeAbstract
usernameSpecifies the username that must be used to register.
IMPORTANT
Providing the username is required.
the username.
a Registration object.
Abstract
serverSpecifies the base URL of the server where the registration should be made.
NOTE
If no server base URL is provided, then the base URL defined in ConfigurationBuilder.baseUrl
will be used.
IMPORTANT
It is assumed that all the servers have the same endpoints, thus only the scheme, hostname and
port of the URL will be taken into account.
Examples of base URL resolution in registration:
Configuration base URL | Provided server URL in Registration | Resulting Server URL |
---|---|---|
https://server/path | https://other.server | https://other.server/path |
https://server:443/path | https://other.server/path | https://other.server/path |
https://server/path | http://other.server:80/otherpath | http://other.server:80/path |
the server URL.
a Registration object.
Abstract
deviceSpecifies the device information to be used.
The DeviceInformation is required only if you require support for encrypted out-of-band payloads or push notifications. If a DeviceInformation was already provided in an existing registration, the provided value will be ignored.
the device information.
a Registration object.
Abstract
authorizationSpecifies the authorization provider that must be used to register the authenticator.
a Registration object.
Abstract
allowSpecifies whether Class 2 (formerly weak) biometric sensors are allowed if the biometric authenticator is selected.
IMPORTANT
This method is Android specific and will be ignored on iOS platform.
By default, the SDK will only allow to use Class 3 (formerly strong) sensors. Using Class 2 sensors is less secure and discouraged. When a Class 2 sensor is used, the FIDO UAF keys are not protected by the operating system by requiring user authentication.
If the SDK detects that only Class 3 (strong) biometric sensors are available in the mobile device, even if Class 2 sensors are allowed, the FIDO UAF credentials will be protected by the operating system by requiring user authentication.
However, in some cases it may be acceptable for the sake of end-user convenience. Allowing Class 2 sensors will enable for instance the use of face recognition in some Samsung devices.
specifies whether Class 2 biometric sensors are allowed if the biometric authenticator is selected.
a Registration object.
Abstract
allowSpecifies whether the OS device passcode can be used as fallback during biometric authentication.
If not specified, the device passcode cannot be used as fallback.
indicates whether the device passcode can be used as fallback.
a Registration object.
Abstract
invalidateSpecifies whether the authenticator must be invalidated if the user adds new biometric credentials in the OS settings. If the authenticator has been invalidated, and you try to authenticate with it, an error with code FidoErrorCodeType.KeyDisappearedPermanently will be returned by the authentication operation.
This setting only applies to biometric Aaid.BIOMETRIC and fingerprint Aaid.FINGERPRINT
authenticators.
By setting this parameter to true
, you increase the security but there is a loss of
convenience: adding a new OS biometric credential does not imply necessarily that there is a
security risk, but if the end-user does it, a new registration will be required, because an
invalidated authenticator cannot be recovered.
If not specified, the authenticator will be invalidated when the user adds a new biometric credential in the OS settings.
indicates whether an addition of biometric credentials in the OS should invalidate this authenticator.
a Registration object.
Abstract
authenticatorSpecifies the object that will take care of the selection of the authenticator to be used.
IMPORTANT
Providing the authenticator selector is required.
a Registration object.
Abstract
pinSpecifies the object that will take care of enrolling the PIN of the authenticator. It must be provided only if a PIN authenticator must be registered.
IMPORTANT
Providing at least one of the PinEnroller,PasswordEnroller,
BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier
is required.
the PinEnroller.
a Registration object.
Abstract
passwordSpecifies the object that will take care of enrolling the password of the authenticator. It must be provided only if a password authenticator must be registered.
IMPORTANT
Providing at least one of the PinEnroller,PasswordEnroller,
BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier
is required.
the PasswordEnroller.
a Registration object.
Abstract
biometricSpecifies the object that will take care of the biometric user verification. It must be provided only if a biometric authenticator must be registered.
IMPORTANT
Providing at least one of the PinEnroller,PasswordEnroller,
BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier
is required.
a Registration object.
Abstract
deviceSpecifies the object that will take care of the device passcode user verification. It must be provided only if a device passcode authenticator must be registered.
IMPORTANT
Providing at least one of the PinEnroller,PasswordEnroller,
BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier
is required.
a Registration object.
Abstract
fingerprintSpecifies the object that will take care of the fingerprint user verification. It must be provided only if a fingerprint authenticator must be registered.
IMPORTANT
Providing at least one of the PinEnroller,PasswordEnroller,
BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier
is required.
a Registration object.
Abstract
onSpecifies the object that will be invoked if the registration completed successfully.
IMPORTANT
Providing the onSuccess is required.
the callback which is invoked on successful registration.
a Registration object.
Abstract
onSpecifies the object that will be invoked if the registration failed.
IMPORTANT
Providing the onError is required.
the callback which receives an OperationError.
a Registration object.
Generated using TypeDoc
The object that can be used to trigger a registration operation.
Usage example:
The biometric, device passcode and fingerprint authenticators are enrolled at the OS level. That is why, if one of them must be registered, the user must authenticate through BiometricUserVerifier, DevicePasscodeUserVerifier or FingerprintUserVerifier. In the case of the PIN and password, the credentials are enrolled during registration, so no authentication is needed.
See
Operations.registration