---
title: restorePurchase
framework: authenticationservices
role: symbol
role_heading: Type Property
path: authenticationservices/asauthorizationcustommethod/restorepurchase
---

# restorePurchase

A type of authorization that restores an in-app purchase to sign in.

## Declaration

```swift
static let restorePurchase: ASAuthorizationCustomMethod
```

## Discussion

Discussion This kind of authorization method displays a Restore Purchase button.

## See Also

### Getting the Properties

- [videoSubscriberAccount](authenticationservices/asauthorizationcustommethod/videosubscriberaccount.md)
- [other](authenticationservices/asauthorizationcustommethod/other.md)
