public class ClientCredentialsParser extends Object
| Constructor and Description |
|---|
ClientCredentialsParser() |
| Modifier and Type | Method and Description |
|---|---|
static ClientID |
parseID(net.minidev.json.JSONObject jsonObject)
Parses a client identifier from the specified JSON object.
|
static Date |
parseIDIssueDate(net.minidev.json.JSONObject jsonObject)
Parses a client identifier issue date from the specified JSON
object.
|
static BearerAccessToken |
parseRegistrationAccessToken(net.minidev.json.JSONObject jsonObject)
Parses a client registration access token from the specified JSON
object.
|
static URI |
parseRegistrationURI(net.minidev.json.JSONObject jsonObject)
Parses a client registration URI from the specified JSON object.
|
static Secret |
parseSecret(net.minidev.json.JSONObject jsonObject)
Parses a client secret from the specified JSON object.
|
public ClientCredentialsParser()
public static ClientID parseID(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject - The JSON object. Must not be null.ParseException - If parsing failed.public static Date parseIDIssueDate(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject - The JSON object. Must not be null.null if not
specified.ParseException - If parsing failed.public static Secret parseSecret(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject - The JSON object. Must not be null.null if not specified.ParseException - If parsing failed.public static URI parseRegistrationURI(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject - The JSON object. Must not be null.null if not specified.ParseException - If parsing failed.public static BearerAccessToken parseRegistrationAccessToken(net.minidev.json.JSONObject jsonObject) throws ParseException
jsonObject - The JSON object. Must not be null.null if not
specified.ParseException - If parsing failed.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.