ktor-auth / io.ktor.auth / io.ktor.request.ApplicationRequest

Extensions for io.ktor.request.ApplicationRequest

basicAuthenticationCredentials

fun ApplicationRequest.basicAuthenticationCredentials(charset: <ERROR CLASS>? = null): UserPasswordCredential?

Retrieves Basic authentication credentials for this ApplicationRequest

parseAuthorizationHeader

fun ApplicationRequest.parseAuthorizationHeader(): HttpAuthHeader?

Parses an authorization header from a ApplicationRequest returning a HttpAuthHeader.