renamed "scopes" in introspection response to "permission_scopes"
parent
9086a06d7d
commit
3734e76578
|
@ -62,7 +62,7 @@ public class DefaultIntrospectionResultAssembler implements IntrospectionResultA
|
||||||
Map<String, Object> o = newLinkedHashMap();
|
Map<String, Object> o = newLinkedHashMap();
|
||||||
o.put("resource_set_id", perm.getResourceSet().getId().toString());
|
o.put("resource_set_id", perm.getResourceSet().getId().toString());
|
||||||
Set<String> scopes = Sets.newHashSet(perm.getScopes());
|
Set<String> scopes = Sets.newHashSet(perm.getScopes());
|
||||||
o.put("scopes", scopes);
|
o.put("permission_scopes", scopes);
|
||||||
permissions.add(o);
|
permissions.add(o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue