AddSecurityKeyState
AddSecurityKeyState
Section titled “AddSecurityKeyState”Parameters
Section titled “Parameters”key optional SecurityKey
| Property | Type | Required | Notes |
|---|---|---|---|
| key.id | string | ✔️ | Unique indentifier of the security key |
| key.nickname | string | Human-readable nickname fof the security key |
isError required boolean
@returns
true if an error occurred
@depreacted
use !isSuccess or !!error instead
error required null | AuthErrorPayload
Provides details about the error
isLoading required boolean
@returns
true when the action is executing, false when it finished its execution.
isSuccess required boolean
Returns true if the action is successful.