Package-level declarations
Types
Link copied to clipboard
typealias JWTAuthChallengeFunction = suspend JWTChallengeContext.(defaultScheme: String, realm: String) -> Unit
Specifies what to send back if JWT authentication fails.
Link copied to clipboard
A JWT Authentication provider.
Link copied to clipboard
A context for JWTAuthChallengeFunction.
Link copied to clipboard
A JWT verifier function used to verify a token format and its signature.
Link copied to clipboard
A JWT credential that consists of the specified payload.
Link copied to clipboard
Shortcut functions for standard registered JWT claims.
Link copied to clipboard
A JWT principal that consists of the specified payload.
Functions
Link copied to clipboard
fun AuthenticationConfig.jwt(name: String? = null, configure: JWTAuthenticationProvider.Config.() -> Unit)
Installs the JWT Authentication provider. JWT (JSON Web Token) is an open standard that defines a way for securely transmitting information between parties as a JSON object. To learn how to configure it, see JSON Web Tokens.