vertx-lang-scala-docs_2.12 3.4.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package auth
  Definition Classes
    ext
-  package oauth2
  Definition Classes
    auth
-  package providers
  Definition Classes
    oauth2
- AccessToken
- KeycloakHelper
- OAuth2Auth
- OAuth2ClientOptions

o

io.vertx.scala.ext.auth.oauth2

# KeycloakHelper 

###
Companion class KeycloakHelper

#### object KeycloakHelper

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. KeycloakHelper
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def accessToken(principal: JsonObject): JsonObject

   Get decoded `access_token` from the principal.

   Get decoded `access_token` from the principal.

   principal

     user principal

   returns

     the access token

5.  def acr(principal: JsonObject): String
6.  def allowedOrigins(principal: JsonObject): Set[String]
7.  def apply(asJava: ext.auth.oauth2.KeycloakHelper): KeycloakHelper
8.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
9.  def authTime(principal: JsonObject): Int
10.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
11.  def email(principal: JsonObject): String
12.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
13.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
14.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
15.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
16.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
17.  def idToken(principal: JsonObject): JsonObject

    Get decoded `id_token` from the principal.

    Get decoded `id_token` from the principal.

    principal

      user principal

    returns

      the id token

18.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
19.  def name(principal: JsonObject): String
20.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
21.  def nickName(principal: JsonObject): String
22.  final def notify(): Unit
    Definition Classes
      AnyRef
23.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
24.  def parseToken(token: String): JsonObject

    Parse the token string with base64 decoder.

    Parse the token string with base64 decoder. This will only obtain the "payload" part of the token.

    token

      token string

    returns

      token payload json object

25.  def preferredUsername(principal: JsonObject): String
26.  def rawAccessToken(principal: JsonObject): String

    Get raw `access_token` string from the principal.

    Get raw `access_token` string from the principal.

    principal

      user principal

    returns

      the raw access token string

27.  def rawIdToken(principal: JsonObject): String

    Get raw `id_token` string from the principal.

    Get raw `id_token` string from the principal.

    principal

      user principal

    returns

      the raw id token string

28.  def sessionState(principal: JsonObject): String
29.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
30.  def toString(): String
    Definition Classes
      AnyRef → Any
31.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
32.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
33.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped