vertx / io.vertx.ext.auth / ChainAuth

ChainAuth

interface ChainAuth : AuthProvider

Chain several auth providers as if they were one. This is useful for cases where one want to authenticate across several providers, for example, database and fallback to passwd file.

Functions

append

abstract fun append(other: AuthProvider): ChainAuth

Appends a auth provider to the chain.

clear

abstract fun clear(): Unit

Clears the chain.

create

open static fun create(): ChainAuth

Create a Chainable Auth Provider auth provider

remove

abstract fun remove(other: AuthProvider): Boolean

Removes a provider from the chain.