org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/OAuthService.java [118:125]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	public Authorization addScopes(int id, Collection<String> scopes)
			throws IOException {
		StringBuilder uri = new StringBuilder(SEGMENT_AUTHORIZATIONS);
		uri.append('/').append(id);
		Map<String, Collection<String>> params = Collections.singletonMap(
				"add_scopes", scopes); //$NON-NLS-1$
		return client.post(uri.toString(), params, Authorization.class);
	}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/OAuthService.java [135:142]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	public Authorization removeScopes(int id, Collection<String> scopes)
			throws IOException {
		StringBuilder uri = new StringBuilder(SEGMENT_AUTHORIZATIONS);
		uri.append('/').append(id);
		Map<String, Collection<String>> params = Collections.singletonMap(
				"remove_scopes", scopes); //$NON-NLS-1$
		return client.post(uri.toString(), params, Authorization.class);
	}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



