TypedBearerAuthConfig

Configures a typed Bearer authentication scheme with principal type P.

Report a problem

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Human-readable description of this authentication scheme.

Link copied to clipboard

Default handler for authentication failures.

Link copied to clipboard

Optional Bearer realm passed in the WWW-Authenticate header.

Functions

Link copied to clipboard

Configures how to retrieve an HTTP authentication header.

Link copied to clipboard
fun authSchemes(defaultScheme: String = AuthScheme.Bearer, vararg additionalSchemes: String)

Configures accepted authentication schemes.

Link copied to clipboard
Link copied to clipboard

Exchanges a bearer token for a principal of type P.