---
title: "init(rawValue:)"
framework: Video Subscriber Account
role: symbol
role_heading: Initializer
path: "videosubscriberaccount/vsaccountproviderauthenticationscheme/init(rawvalue:)"
---

# init(rawValue:)

Creates a new authentication scheme with the specified raw value.

## Declaration

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

## Parameters

- `rawValue`: The raw value to use to create the authentication scheme.

## Discussion

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

## See Also

### Creating an Authentication Scheme

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