public final class TokenService extends Object
| Modifier and Type | Method and Description |
|---|---|
static Token |
parse(String strJson,
RegisteredClient clientConfig,
ServerConfiguration serverConfig,
String strStoredNonce)
parse the JSON for a token
|
public static Token parse(String strJson, RegisteredClient clientConfig, ServerConfiguration serverConfig, String strStoredNonce) throws IOException, TokenValidationException
strJson - The JSONclientConfig - The client configurationserverConfig - The server configurationstrStoredNonce - The stored nonceIOException - if an error occursTokenValidationException - If the token validation failedCopyright © 2015 City of Paris. All rights reserved.