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

# PasskeyCredentialCreationOptions

> Swift Structure

**Structure**

navigator.credentials.create request options

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

Specification reference: [https://w3c.github.io/webauthn/#dictionary-makecredentialoptions](https://w3c.github.io/webauthn/#dictionary-makecredentialoptions)

## Initializers

### init(from:)

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

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

### init(rp:user:challenge:pubKeyCredParams:timeout:excludeCredentials:authenticatorSelection:attestation:extensions:)

```swift theme={null}
init(rp: PublicKeyCredentialRpEntity, user: PublicKeyCredentialUserEntity, challenge: Base64URLString, pubKeyCredParams: [PublicKeyCredentialParameters], timeout: Int? = nil, excludeCredentials: [PublicKeyCredentialDescriptor]? = nil, authenticatorSelection: AuthenticatorSelectionCriteria? = nil, attestation: AttestationConveyancePreference? = nil, extensions: AuthenticationExtensionsClientInputs? = nil)
```
