init(_:)
Creates a new authentication scheme with the specified string.
Declaration
init(_ rawValue: String)Parameters
- rawValue:
The string to use to create the authentication scheme.
Discussion
This initializer returns nil if the string value you specify doesn’t correspond to a valid authentication scheme type.