class XsuaaScopeConverter implements ScopeConverter {

	@Override
	public Set<String> convert(Collection<String> scopes) {
		Set<String> convertedScopes = new LinkedHashSet<>();
		for (String scope : scopes) {
			String convertedScope = convertToLocalScope(scope);
			if (convertedScope != null) {
				convertedScopes.add(convertedScope);
			}
		}
		return convertedScopes;
	}

	public  XsuaaScopeConverter(String appId);

}