---
title: ASAuthorizationCustomMethod
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asauthorizationcustommethod
---

# ASAuthorizationCustomMethod

The custom authorization method.

## Declaration

```swift
struct ASAuthorizationCustomMethod
```

## Discussion

Discussion Use ASAuthorizationCustomMethod to specify a type of custom sign-in in tvOS, like enabling the user to sign in manually or by restoring a purchase.

## Topics

### Creating the Structure

- [init(rawValue:)](authenticationservices/asauthorizationcustommethod/init(rawvalue:).md)

### Getting the Properties

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

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Apple TV authentication

- [customAuthorizationMethods](authenticationservices/asauthorizationcontroller/customauthorizationmethods.md)
- [authorizationController(_:didCompleteWithCustomMethod:)](authenticationservices/asauthorizationcontrollerdelegate/authorizationcontroller(_:didcompletewithcustommethod:).md)
