Skip to content

Instantly share code, notes, and snippets.

@amityvipin
amityvipin / TokenResult.java
Created January 11, 2014 07:52
To fix issue which I logged into JIRA i.e. https://java.net/jira/browse/JERSEY-2323. You need to update two classes. 1. TokenResult.java(org.glassfish.jersey.client.oauth2) 2. AuthCodeGrantImpl.java(org.glassfish.jersey.client.oauth2) In these classes you need to update the map definition which is use to store the properties which comes in the r…
package org.glassfish.jersey.client.oauth2;
import java.util.Map;
/**
* Class that contains a result of the Authorization Flow including a access token.
* <p>
* All result properties can be get by the method {@link #getAllProperties()}. Some of the properties
* are standardized by the OAuth 2 specification and therefore the class contains getters that extract
* these properties from the property map.