> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PasskeySigner

> Swift Class

**Class**

```swift theme={null}
final class PasskeySigner
```

## Initializers

### init(name:host:)

```swift theme={null}
init(name: String, host: String)
```

## Instance Properties

### adminSigner

Inherited from `Signer.adminSigner`.

```swift theme={null}
var adminSigner: PasskeySignerData { get async }
```

### signerType

Inherited from `Signer.signerType`.

```swift theme={null}
nonisolated let signerType: SignerType
```

## Instance Methods

### approvals(withSignature:)

Inherited from `Signer.approvals(withSignature:)`.

```swift theme={null}
func approvals(withSignature signature: String) async throws(SignerError) -> [SignRequestApi.Approval]
```

### initialize(\_:)

Inherited from `Signer.initialize(_:)`.

```swift theme={null}
func initialize(_ service: (any SmartWalletService)?) async throws(SignerError)
```

### sign(message:)

Inherited from `Signer.sign(message:)`.

```swift theme={null}
func sign(message: String) async throws(SignerError) -> String
```

### updateAdminSigner(\_:)

```swift theme={null}
func updateAdminSigner(_ adminSigner: PasskeySignerData) async -> any Signer
```

## Type Aliases

### PasskeySigner.AdminType

Inherited from `Signer.AdminType`.

```swift theme={null}
typealias AdminType = PasskeySignerData
```
