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) {
scopes.forEach((scope) {
_scopeList.add(scope.getScopeUri());
});
if (extraScopeURIs != null) {
extraScopeURIs.forEach((elem) {
_scopeList.add(elem);
});
}
}
}