---
title: VSAccountProviderAuthenticationScheme
framework: Video Subscriber Account
role: symbol
role_heading: Structure
path: videosubscriberaccount/vsaccountproviderauthenticationscheme
---

# VSAccountProviderAuthenticationScheme

Authentication schemes for account provider requests and responses.

## Declaration

```swift
struct VSAccountProviderAuthenticationScheme
```

## Discussion

Discussion If the minimum version your app supports is outside the availability of the VSAccountProviderAuthenticationScheme values, you must create an authentication scheme value using the raw string. let request = VSAccountMetadataRequest() // ... if #available(iOS 13.0, *) {   request.supportedAuthenticationSchemes = [.api] } else {   request.supportedAuthenticationSchemes = [VSAccountProviderAuthenticationScheme("API")] } The following table shows the raw strings for the VSAccountProviderAuthenticationScheme values.  |   |   |

## Topics

### Creating an Authentication Scheme

- [init(_:)](videosubscriberaccount/vsaccountproviderauthenticationscheme/init(_:).md)
- [init(rawValue:)](videosubscriberaccount/vsaccountproviderauthenticationscheme/init(rawvalue:).md)

### Authentication Scheme Types

- [saml](videosubscriberaccount/vsaccountproviderauthenticationscheme/saml.md)
- [api](videosubscriberaccount/vsaccountproviderauthenticationscheme/api.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

### Enqueuing requests

- [enqueue(_:completionHandler:)](videosubscriberaccount/vsaccountmanager/enqueue(_:completionhandler:).md)
- [VSAccountMetadataRequest](videosubscriberaccount/vsaccountmetadatarequest.md)
- [VSAccountMetadata](videosubscriberaccount/vsaccountmetadata.md)
- [VSAccountManagerResult](videosubscriberaccount/vsaccountmanagerresult.md)
- [VSAccountProviderResponse](videosubscriberaccount/vsaccountproviderresponse.md)
