AuthenticationInfo

scamper.http.auth.AuthenticationInfo
final class AuthenticationInfo(response: HttpResponse) extends AnyVal

Adds standardized access to Authentication-Info header.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def authenticationInfo: Map[String, String]

Gets Authentication-Info header values.

Gets Authentication-Info header values.

Attributes

Returns

header value or empty map if Authentication-Info is not present

def authenticationInfoOption: Option[Map[String, String]]

Gets Authentication-Info header value if present.

Gets Authentication-Info header value if present.

Attributes

Creates new response with Authentication-Info header removed.

Creates new response with Authentication-Info header removed.

Attributes

def hasAuthenticationInfo: Boolean

Tests for Authentication-Info header.

Tests for Authentication-Info header.

Attributes

def setAuthenticationInfo(values: Map[String, String]): HttpResponse

Creates new response with Authentication-Info header set to supplied values.

Creates new response with Authentication-Info header set to supplied values.

Attributes

def setAuthenticationInfo(one: (String, String), more: (String, String)*): HttpResponse

Creates new response with Authentication-Info header set to supplied values.

Creates new response with Authentication-Info header set to supplied values.

Attributes