vertx / io.vertx.rxjava.ext.auth.oauth2 / KeycloakHelper

# KeycloakHelper

`open class KeycloakHelper`

Helper class for processing Keycloak principal. NOTE: This class has been automatically generated from the io.vertx.ext.auth.oauth2.KeycloakHelper non RX-ified interface using Vert.x codegen.

### Constructors

<init> | `KeycloakHelper(delegate: KeycloakHelper)`

### Properties

__TYPE_ARG | `static val __TYPE_ARG: TypeArg<KeycloakHelper>`

### Functions

accessToken | `open static fun accessToken(principal: JsonObject): JsonObject` Get decoded `access_token` from the principal.
acr | `open static fun acr(principal: JsonObject): String`
allowedOrigins | `open static fun allowedOrigins(principal: JsonObject): MutableSet<String>`
authTime | `open static fun authTime(principal: JsonObject): Int`
email | `open static fun email(principal: JsonObject): String`
equals | `open fun equals(other: Any?): Boolean`
getDelegate | `open fun getDelegate(): KeycloakHelper`
hashCode | `open fun hashCode(): Int`
idToken | `open static fun idToken(principal: JsonObject): JsonObject` Get decoded `id_token` from the principal.
name | `open static fun name(principal: JsonObject): String`
newInstance | `open static fun newInstance(arg: KeycloakHelper): KeycloakHelper`
nickName | `open static fun nickName(principal: JsonObject): String`
parseToken | `open static fun parseToken(token: String): JsonObject` Parse the token string with base64 decoder. This will only obtain the "payload" part of the token.
preferredUsername | `open static fun preferredUsername(principal: JsonObject): String`
rawAccessToken | `open static fun rawAccessToken(principal: JsonObject): String` Get raw `access_token` string from the principal.
rawIdToken | `open static fun rawIdToken(principal: JsonObject): String` Get raw `id_token` string from the principal.
sessionState | `open static fun sessionState(principal: JsonObject): String`
toString | `open fun toString(): String`