public class OpenIdConnectRESTHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
OpenIdConnectRESTHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildLoginRequestURL(URL loginURL,
String clientId,
String state,
String redirectURI) |
static void |
logout(JWTToken token,
URL logoutUrl,
String clientId) |
static String |
mapToQueryString(Map<String,List<String>> params) |
static JWTToken |
performQueryTokenWithPOST(URL tokenURL,
String authorization,
Map<String,List<String>> params) |
static JWTToken |
queryClientToken(String clientId,
String clientSecret,
URL tokenURL) |
static JWTToken |
queryToken(String clientId,
URL tokenURL,
String code,
String scope,
String redirectURI) |
static JWTToken |
queryUMAToken(URL tokenUrl,
String authorizationToken,
String audience,
List<String> permissions) |
public static String buildLoginRequestURL(URL loginURL, String clientId, String state, String redirectURI) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static JWTToken queryClientToken(String clientId, String clientSecret, URL tokenURL) throws Exception
Exceptionpublic static JWTToken queryToken(String clientId, URL tokenURL, String code, String scope, String redirectURI) throws Exception
Exceptionpublic static JWTToken performQueryTokenWithPOST(URL tokenURL, String authorization, Map<String,List<String>> params) throws Exception
Exceptionpublic static JWTToken queryUMAToken(URL tokenUrl, String authorizationToken, String audience, List<String> permissions) throws Exception
Exceptionpublic static void logout(JWTToken token, URL logoutUrl, String clientId) throws IOException
IOExceptionCopyright © 2020. All Rights Reserved.