ScopedAuth

zio.http.endpoint.AuthType.ScopedAuth
final case class ScopedAuth[ClientReq](authType: AuthType { type ClientRequirement = ClientReq; }, _scopes: List[String]) extends AuthType

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AuthType
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type ClientRequirement = ClientReq

Value members

Concrete methods

def scopes(newScopes: List[String]): ScopedAuth[ClientReq]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def |[ClientReq2, ClientReq](that: AuthType { type ClientRequirement = ClientReq2; })(implicit alternator: WithOut[ClientRequirement, ClientReq2, ClientReq]): AuthType { type ClientRequirement = ClientReq; }

Attributes

Inherited from:
AuthType

Concrete fields

override val codec: HttpCodec[RequestType, ClientReq]