> ## 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.

# PasskeySignerData

> Swift Structure

**Structure**

```swift theme={null}
struct PasskeySignerData
```

## Structures

### PasskeySignerData.PublicKey

```swift theme={null}
struct PublicKey
```

## Initializers

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: any Decoder) throws
```

### init(id:name:publicKey:validatorContractVersion:)

```swift theme={null}
init(id: String, name: String, publicKey: PasskeySignerData.PublicKey, validatorContractVersion: String? = nil)
```

## Instance Properties

### id

```swift theme={null}
let id: String
```

### locatorId

Inherited from `AdminSignerData.locatorId`.

```swift theme={null}
var locatorId: String { get }
```

### name

```swift theme={null}
let name: String
```

### publicKey

```swift theme={null}
let publicKey: PasskeySignerData.PublicKey
```

### type

Inherited from `AdminSignerData.type`.

```swift theme={null}
var type: AdminSignerDataType { get }
```

### validatorContractVersion

```swift theme={null}
let validatorContractVersion: String?
```

## Instance Methods

### encode(to:)

Inherited from `Encodable.encode(to:)`.

```swift theme={null}
nonisolated func encode(to encoder: any Encoder) throws
```
