new Scope(scope)
Azure AD Auth scope representation class
- Remove MS Graph URLs from scope, as it is default for any scope
- Remove eventual commas and double spaces
- Sort
- BASIC SCOPE is always a part of auth requests
- Source:
Parameters:
Name | Type | Description |
---|---|---|
scope |
string
|
Array.<String>
|
''
|
without parameters represents BASIC_SCOPE = 'offline_access openid profile' |