vertx-lang-scala-docs_2.12 3.9.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 htdigest
  Definition Classes
    auth
-  package jdbc
  Definition Classes
    auth
-  package jwt
  Definition Classes
    auth
-  package mongo
  Definition Classes
    auth
-  package oauth2
  Definition Classes
    auth
-  package providers
-  package rbac
- AccessToken
- KeycloakHelper
- OAuth2Auth
- OAuth2ClientOptions
- OAuth2RBAC
- OAuth2Response
-  package shiro
  Definition Classes
    auth

p

io.vertx.scala.ext.auth

# oauth2 

#### package oauth2

 
Ordering

1. Alphabetic

Visibility

1. Public
2. All

### Type Members

1.  class AccessToken extends User

   AccessToken extension to the User interface

2.  class KeycloakHelper extends AnyRef

   Helper class for processing Keycloak principal.

3.  class OAuth2Auth extends AuthProvider

   Factory interface for creating OAuth2 based io.vertx.scala.ext.auth.AuthProvider instances.

4.  class OAuth2ClientOptions extends HttpClientOptions

   Options describing how an OAuth2 will make connections.

5.  class OAuth2RBAC extends AnyRef

   Functional interface that allows users to implement custom RBAC verifiers for OAuth2/OpenId Connect.

   Functional interface that allows users to implement custom RBAC verifiers for OAuth2/OpenId Connect.

   Users are to implement the `isAuthorized` method to verify authorities. For provides that do not export the permissions/roles in the token, this interface allows you to communicate with 3rd party services such as graph APIs to collect the required data.

   The contract is that once an authority is checked for a given user, it's value is cached during the execution of the request. If a user is stored to a persistent storage, or the token is introspected, the cache is cleared and a new call will be handled to the implementation.

6.  class OAuth2Response extends AnyRef

   A response from a fetch request.

   A response from a fetch request.

   This class represents a secure response from a Oauth2 fetch call.

   A fetch is a simplified HTTP response from a protected resource.

### Value Members

1.  object AccessToken
2.  object KeycloakHelper
3.  object OAuth2Auth
4.  object OAuth2ClientOptions
5.  object OAuth2RBAC
6.  object OAuth2Response

### Ungrouped