public class OIDCTokenResponseParser extends Object
Related specifications:
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2013 NimbusDS. All Rights Reserved.