open class ChainAuthHandler : AuthHandler, Handler<RoutingContext>
An auth handler that chains to a sequence of handlers. NOTE: This class has been automatically generated from the io.vertx.ext.web.handler.ChainAuthHandler non RX-ified interface using Vert.x codegen.
ChainAuthHandler(delegate: ChainAuthHandler) |
static val __TYPE_ARG: TypeArg<ChainAuthHandler> |
open fun addAuthorities(authorities: MutableSet<String>): AuthHandler
Add a set of required authorities for this auth handler |
|
open fun addAuthority(authority: String): AuthHandler
Add a required authority for this auth handler |
|
open fun append(authHandler: AuthHandler): ChainAuthHandler
Appends a auth provider to the chain. |
|
open fun authorize(user: User, handler: Handler<AsyncResult<Void>>): Unit
Authorizes the given user against all added authorities. |
|
open fun clear(): Unit
Clears the chain. |
|
open static fun create(): ChainAuthHandler |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): ChainAuthHandler |
|
open fun handle(arg0: RoutingContext): Unit |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: ChainAuthHandler): ChainAuthHandler |
|
open fun parseCredentials(context: RoutingContext, handler: Handler<AsyncResult<JsonObject>>): Unit
Parses the credentials from the request into a JsonObject. The implementation should be able to extract the required info for the auth provider in the format the provider expects. |
|
open fun remove(authHandler: AuthHandler): Boolean
Removes a provider from the chain. |
|
open fun rxAuthorize(user: User): Completable
Authorizes the given user against all added authorities. |
|
open fun rxParseCredentials(context: RoutingContext): Single<JsonObject>
Parses the credentials from the request into a JsonObject. The implementation should be able to extract the required info for the auth provider in the format the provider expects. |
|
open fun toString(): String |