# AuthenticationAutofillActivateHandlers

## Properties

### onSuccess

• **onSuccess**: (`webauthn_encoded_result`: `string`) => `Promise`<`void`>

#### Type declaration

▸ (`webauthn_encoded_result`): `Promise`<`void`>

A Callback function that will be triggered once biometrics signing is completed successfully.

##### Parameters

| Name | Type |
|  --- | --- |
| `webauthn_encoded_result` | `string` |


##### Returns

`Promise`<`void`>

### onError

• `Optional` **onError**: (`err`: [`SdkError`](/sdk-ref/authnsdk/interfaces/sdkerror)) => `Promise`<`void`>

#### Type declaration

▸ (`err`): `Promise`<`void`>

A Callback function that will be triggered if authentication fails with an SdkError.

##### Parameters

| Name | Type |
|  --- | --- |
| `err` | [`SdkError`](/sdk-ref/authnsdk/interfaces/sdkerror) |


##### Returns

`Promise`<`void`>

### onReady

• `Optional` **onReady**: () => `void`

#### Type declaration

▸ (): `void`

A Callback function that will be triggered when challenge excepted from the service and autofill is ready to use.

##### Returns

`void`