<PackageReference Include="Microsoft.Identity.Client" Version="4.82.0" />

Microsoft.Identity.Client.Utils.ScopeHelper

static class ScopeHelper
public static HashSet<string> ConvertStringToScopeSet(string singleString)

public static HashSet<string> CreateScopeSet(IEnumerable<string> input)

public static string GetMsalRuntimeScopes()

public static HashSet<string> GetMsalScopes(HashSet<string> userScopes)

public static bool HasNonMsalScopes(HashSet<string> userScopes)

public static string OrderScopesAlphabetically(string originalScopes)

public static string RemoveDefaultSuffixIfPresent(string resource)

public static bool ScopeContains(ISet<string> outerSet, IEnumerable<string> possibleContainedSet)

public static string ScopesToResource(string[] scopes)