User
principal to access this data as this class is not guaranteed to
be secure as no cryptographic signatures are verified.@Deprecated public interface KeycloakHelper
Modifier and Type | Method and Description |
---|---|
static JsonObject |
accessToken(JsonObject principal)
Deprecated.
Get decoded `access_token` from the principal.
|
static String |
acr(JsonObject principal)
Deprecated.
|
static Set<String> |
allowedOrigins(JsonObject principal)
Deprecated.
|
static int |
authTime(JsonObject principal)
Deprecated.
|
static String |
email(JsonObject principal)
Deprecated.
|
static JsonObject |
idToken(JsonObject principal)
Deprecated.
Get decoded `id_token` from the principal.
|
static String |
name(JsonObject principal)
Deprecated.
|
static String |
nickName(JsonObject principal)
Deprecated.
|
static JsonObject |
parseToken(String token)
Deprecated.
Parse the token string with base64 decoder.
|
static String |
preferredUsername(JsonObject principal)
Deprecated.
|
static String |
rawAccessToken(JsonObject principal)
Deprecated.
Get raw `access_token` string from the principal.
|
static String |
rawIdToken(JsonObject principal)
Deprecated.
Get raw `id_token` string from the principal.
|
static String |
sessionState(JsonObject principal)
Deprecated.
|
static String rawIdToken(JsonObject principal)
principal
- user principalstatic JsonObject idToken(JsonObject principal)
principal
- user principalstatic String rawAccessToken(JsonObject principal)
principal
- user principalstatic JsonObject accessToken(JsonObject principal)
principal
- user principalstatic int authTime(JsonObject principal)
static String sessionState(JsonObject principal)
static String acr(JsonObject principal)
static String name(JsonObject principal)
static String email(JsonObject principal)
static String preferredUsername(JsonObject principal)
static String nickName(JsonObject principal)
static Set<String> allowedOrigins(JsonObject principal)
static JsonObject parseToken(String token)
token
- token stringCopyright © 2021 Eclipse. All rights reserved.