Single

class Single(val authScheme: String, val blob: String) : HttpAuthHeader

Describes an authentication header that is represented by a single blob.

Constructors

Link copied to clipboard
fun Single(authScheme: String, blob: String)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun render(): String

Encodes the header with the default HeaderValueEncoding for this header.

open override fun render(encoding: HeaderValueEncoding): String

Encodes the header with a specified encoding.

Link copied to clipboard
open override fun toString(): String

Encodes the header with the default HeaderValueEncoding for this header.

Properties

Link copied to clipboard

auth scheme, usually one of AuthScheme

Link copied to clipboard

contains single token 68, should consist from digits, letters and one of the following: -._~+/