---
title: "init(_:)"
framework: authenticationservices
role: symbol
role_heading: Initializer
path: "authenticationservices/asauthorization/scope/init(_:)"
---

# init(_:)

Creates a scope from the given string.

## Declaration

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

## Parameters

- `rawValue`: The name of the scope.

## Discussion

Discussion Typically you use one of the predefined scopes, like email, instead of initializing one from a string.

## See Also

### Creating a Scope

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