setScopeList method
Adds specified scopes to authorization configurations to request an ID user to authorize an app to obtain the permissions specified by the scopes.
Implementation
void setScopeList(
List<Scope> scopes, {
List<String>? extraScopeURIs,
}) {
_scopeList.clear();
if (scopes.isNotEmpty) {
for (Scope scope in scopes) {
_scopeList.add(scope.getScopeUri());
}
for (String elem in (extraScopeURIs ?? <String>[])) {
_scopeList.add(elem);
}
}
}