---
title: "init(_:action:)"
framework: passkit
role: symbol
role_heading: Initializer
path: "passkit/verifyidentitywithwalletbutton/init(_:action:)"
---

# init(_:action:)

Creates a verify identity button that starts the identity authorization flow.

## Declaration

```swift
nonisolated init(_ label: VerifyIdentityWithWalletButtonLabel = .verifyIdentity, action: @escaping () -> Void)
```

## Parameters

- `label`: The button’s label.
- `action`: The action to perform when a person taps the button.

## See Also

### Creating the button

- [init(_:request:onCompletion:)](passkit/verifyidentitywithwalletbutton/init(_:request:oncompletion:).md)
- [init(_:request:onCompletion:fallback:)](passkit/verifyidentitywithwalletbutton/init(_:request:oncompletion:fallback:).md)
