<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/JPKIPassContents/AuthenticationRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "s:7PassKit16JPKIPassContentsV21AuthenticationRequestV"
  },
  "title" : "JPKIPassContents.AuthenticationRequest"
}
-->

# JPKIPassContents.AuthenticationRequest

The user authentification request based on the generics type.

```
struct AuthenticationRequest<IdentityType> where IdentityType : JPKIPassContents.Identity
```

## Overview

Use this structure to define valid user authentication request options for `UserIdentity` or `SigningIdentity`.

## Topics

### Creating authentication request options

[`init(type: JPKIPassContents.UserIdentity.AuthenticationType)`](/documentation/PassKit/JPKIPassContents/AuthenticationRequest/init(type:)-hz9q)

Initializes the user authentication request options for the user identity type.

[`init(type: JPKIPassContents.SigningIdentity.AuthenticationType)`](/documentation/PassKit/JPKIPassContents/AuthenticationRequest/init(type:)-25dbn)

Initializes the user authentication request options for the signing identity type.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)