public final class TokenService extends Object
| Modifier and Type | Method and Description |
|---|---|
static Token |
parse(String strJson,
AuthClientConf clientConfig,
AuthServerConf serverConfig,
String strStoredNonce)
parse the JSON for a token
|
public static Token parse(String strJson, AuthClientConf clientConfig, AuthServerConf 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 © 2017 City of Paris. All rights reserved.