HttpAuthHeader
sealed class HttpAuthHeader
Describes an authentication header with a mandatory authScheme that usually is a standard AuthScheme.
This can be of type HttpAuthHeader.Single or HttpAuthHeader.Parameterized.
Types
class Parameterized : HttpAuthHeader Describes a parameterized authentication header that is represented by a set of parameters encoded with encoding. |
|
object Parameters Standard parameters for Parameterized. |
|
class Single : HttpAuthHeader Describes an authentication header that is represented by a single blob. |
Properties
val authScheme: String auth scheme, usually one of AuthScheme |
Functions
abstract fun render(encoding: HeaderValueEncoding): String Encodes the header with a specified encoding. abstract fun render(): String Encodes the header with the default HeaderValueEncoding for this header. |
|
open fun toString(): String Encodes the header with the default HeaderValueEncoding for this header. |
Companion Object Functions
fun basicAuthChallenge( Generates an AuthScheme.Basic challenge as a HttpAuthHeader. |
|
fun digestAuthChallenge( Generates an AuthScheme.Digest challenge as a HttpAuthHeader. |
Inheritors
class Parameterized : HttpAuthHeader Describes a parameterized authentication header that is represented by a set of parameters encoded with encoding. |
|
class Single : HttpAuthHeader Describes an authentication header that is represented by a single blob. |