Package io.ktor.http.auth

Types

AuthScheme

object AuthScheme

Contains the standard auth schemes.

HeaderValueEncoding

enum class HeaderValueEncoding

Describes how a header should be encoded.

HttpAuthHeader

sealed class HttpAuthHeader

Describes an authentication header with a mandatory authScheme that usually is a standard AuthScheme.

Functions

parseAuthorizationHeader

fun parseAuthorizationHeader(
    headerValue: String
): HttpAuthHeader?

Parses an authorization header headerValue into a HttpAuthHeader.