Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<KeycloakHelper> |
__TYPE_ARG |
Constructor and Description |
---|
KeycloakHelper(KeycloakHelper delegate) |
KeycloakHelper(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static JsonObject |
accessToken(JsonObject principal)
Get decoded `access_token` from the principal.
|
static String |
acr(JsonObject principal) |
static Set<String> |
allowedOrigins(JsonObject principal) |
static int |
authTime(JsonObject principal) |
static String |
email(JsonObject principal) |
boolean |
equals(Object o) |
KeycloakHelper |
getDelegate() |
int |
hashCode() |
static JsonObject |
idToken(JsonObject principal)
Get decoded `id_token` from the principal.
|
static String |
name(JsonObject principal) |
static KeycloakHelper |
newInstance(KeycloakHelper arg) |
static String |
nickName(JsonObject principal) |
static JsonObject |
parseToken(String token)
Parse the token string with base64 decoder.
|
static String |
preferredUsername(JsonObject principal) |
static String |
rawAccessToken(JsonObject principal)
Get raw `access_token` string from the principal.
|
static String |
rawIdToken(JsonObject principal)
Get raw `id_token` string from the principal.
|
static String |
sessionState(JsonObject principal) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<KeycloakHelper> __TYPE_ARG
public KeycloakHelper(KeycloakHelper delegate)
public KeycloakHelper(Object delegate)
public KeycloakHelper getDelegate()
public static String rawIdToken(JsonObject principal)
principal
- user principalpublic static JsonObject idToken(JsonObject principal)
principal
- user principalpublic static String rawAccessToken(JsonObject principal)
principal
- user principalpublic static JsonObject accessToken(JsonObject principal)
principal
- user principalpublic static int authTime(JsonObject principal)
public static String sessionState(JsonObject principal)
public static String acr(JsonObject principal)
public static String name(JsonObject principal)
public static String email(JsonObject principal)
public static String preferredUsername(JsonObject principal)
public static String nickName(JsonObject principal)
public static Set<String> allowedOrigins(JsonObject principal)
public static JsonObject parseToken(String token)
token
- token stringpublic static KeycloakHelper newInstance(KeycloakHelper arg)
Copyright © 2023 Eclipse. All rights reserved.