---
title: shared
framework: DeviceCheck
role: symbol
role_heading: Type Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 15.0+, visionOS 1.0+, watchOS 9.0+]
path: devicecheck/dcappattestservice/shared
---

# shared

The shared App Attest service that you use to validate your app.

## Declaration

```swift
class var shared: DCAppAttestService { get }
```

## Mentioned in

Establishing your app’s integrity Validating apps that connect to your server

## Discussion

Discussion Use the shared instance of the service to generate and to certify a cryptographic key, and then to assert your app’s validity using that key.

## See Also

### Accessing the service

- [isSupported](devicecheck/dcappattestservice/issupported.md)
