<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoSubscriberAccount",
  "identifier" : "/documentation/VideoSubscriberAccount/VSAccountProviderAuthenticationScheme/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Video Subscriber Account"
    ],
    "preciseIdentifier" : "s:So37VSAccountProviderAuthenticationSchemea8rawValueABSS_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Creates a new authentication scheme with the specified raw value.

```
init(rawValue: String)
```

## Parameters

`rawValue`

The raw value to use to create the authentication scheme.

## Discussion

This initializer returns `nil` if the raw value you specify doesn’t correspond to a valid authentication scheme type.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)