---
title: algorithm
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/asauthorizationpublickeycredentialparameters/algorithm
---

# algorithm

The algorithm to use for negitation between the authenticator and the relying party.

## Declaration

```swift
var algorithm: ASCOSEAlgorithmIdentifier { get }
```

## See Also

### Getting the parameters

- [init(algorithm:)](authenticationservices/asauthorizationpublickeycredentialparameters/init(algorithm:).md)
