Auth

case
class Auth[T, INFO <: AuthInfo](input: Single[T], securitySchemeName: Option[String], challenge: WWWAuthenticateChallenge, authInfo: INFO) extends Single[T]

An input with authentication credentials metadata, used when generating documentation.

trait Serializable
trait Product
trait Equals
trait Single[T]
trait EndpointInput[T]
class Object
trait Matchable
class Any

Value members

Concrete methods

def challengeRealm(realm: String): Auth[T, INFO]
override
def map[U](mapping: Mapping[T, U]): Auth[U, INFO]
Definition Classes
def requiredScopes(requiredScopes: Seq[String])(implicit ev: INFO =:= OAuth2): Auth[T, ScopedOAuth2]
def securitySchemeName(name: String): Auth[T, INFO]
override
def show: String
Definition Classes

Inherited methods

def /[U, TU](other: EndpointInput[U])(implicit concat: Aux[T, U, TU]): EndpointInput[TU]
Inherited from
EndpointInput
def and[U, TU](other: EndpointInput[U])(implicit concat: Aux[T, U, TU]): EndpointInput[TU]
Inherited from
EndpointInput
def map[U](f: T => U)(g: U => T): ThisType[U]
Inherited from
EndpointTransput
def mapDecode[U](f: T => DecodeResult[U])(g: U => T): ThisType[U]
Inherited from
EndpointTransput
inline
def mapTo[CASE_CLASS <: Product](using mc: ProductOf[CASE_CLASS]): ThisType[CASE_CLASS]
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def validate(v: Validator[T]): ThisType[T]
Inherited from
EndpointTransput