---
title: "encode(with:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/asauthorizationaccountcreationplatformpublickeycredentialrequest/encode(with:)"
---

# encode(with:)

## Declaration

```swift
override dynamic func encode(with coder: NSCoder)
```
