Contents

init(rawValue:)

Creates a scope from the given string.

Declaration

init(rawValue: String)

Parameters

  • rawValue:

    The name of the scope.

Discussion

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

See Also

Creating a Scope