---
title: hpkeAuthPublicKey
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/asauthorizationproviderextensionloginconfiguration/hpkeauthpublickey
---

# hpkeAuthPublicKey

## Declaration

```swift
var hpkeAuthPublicKey: SecKey? { get set }
```

## Discussion

Discussion The Authentication public key to be used for HPKE.  Setting this value with changet the mode to Auth or AuthPSK if the hpkePreSharedKey is also set.  This public key is used to authenticate HPKE responses.
