vertx / io.vertx.kotlin.ext.auth.authentication / tokenCredentialsOf

tokenCredentialsOf

fun tokenCredentialsOf(token: String? = null): TokenCredentials

A function providing a DSL for building io.vertx.ext.auth.authentication.TokenCredentials objects.

Credentials used by any io.vertx.ext.auth.authentication.AuthenticationProvider that requires Tokens, such as OAuth2 or JWT to perform its authentication

Parameters

token -