|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nimbusds.openid.connect.sdk.OIDCTokenResponseParser
public class OIDCTokenResponseParser
Parser of OpenID Connect token endpoint response messages.
Related specifications:
Method Summary | |
---|---|
static OIDCTokenResponse |
parse(HTTPResponse httpResponse)
Parses an OpenID Connect access token response or token error response from the specified HTTP response. |
static OIDCTokenResponse |
parse(net.minidev.json.JSONObject jsonObject)
Parses an OpenID Connect access token response or token error response from the specified JSON object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OIDCTokenResponse parse(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject
- The JSON object to parse. Must not be
null
.
ParseException
- If the JSON object couldn't be parsed to an
OpenID Connect token response.public static OIDCTokenResponse parse(HTTPResponse httpResponse) throws ParseException
httpResponse
- The HTTP response. Must not be null
.
ParseException
- If the HTTP response couldn't be parsed to an
OpenID Connect token response.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |