code: func filterAuthorizedInfo(authorizedScopes []string, baseScope string) ([]string, bool) {
  	all := false
  	labels := []string{}
  	for _, scope := range authorizedScopes {
  		if scope == baseScope {
  			all = true
  			continue
  		}
  		if strings.HasPrefix(scope, baseScope) {
  			labels = append(labels, strings.TrimPrefix(scope, baseScope+":"))
  		}
  	}
  	return labels, all
  }
docs: // filterAuthorizedInfo filters out the labels of a specific scope. If no label is added, we assume all of them are authorized