TapirAuth

sttp.tapir.TapirAuth$
object TapirAuth

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object oauth2

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
oauth2.type

Value members

Concrete methods

def apiKey[T](input: Single[T], challenge: WWWAuthenticateChallenge): Auth[T, ApiKey]

Reads authorization data from the given input.

Reads authorization data from the given input.

Attributes

def basic[T : ([T] =>> Codec[List[String], T, TextPlain])](challenge: WWWAuthenticateChallenge): Auth[T, Http]

Reads authorization data from the Authorization headers starting with Basic, removing the prefix. To parse the data as a base64-encoded username/password combination, use: basic[UsernamePassword]

Reads authorization data from the Authorization headers starting with Basic, removing the prefix. To parse the data as a base64-encoded username/password combination, use: basic[UsernamePassword]

Attributes

See also:

UsernamePassword

def bearer[T : ([T] =>> Codec[List[String], T, TextPlain])](challenge: WWWAuthenticateChallenge): Auth[T, Http]

Reads authorization data from the Authorization headers starting with Bearer, removing the prefix.

Reads authorization data from the Authorization headers starting with Bearer, removing the prefix.

Attributes

def http[T : ([T] =>> Codec[List[String], T, TextPlain])](authScheme: String, challenge: WWWAuthenticateChallenge): Auth[T, Http]