JwtDecoder

jots.JwtDecoder
See theJwtDecoder companion trait
object JwtDecoder

Attributes

Companion
trait
Source
JwtDecoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JwtDecoder.type

Members list

Value members

Concrete methods

def apply[A](implicit decoder: JwtDecoder[A]): JwtDecoder[A]

Attributes

Source
JwtDecoder.scala
def const[A](a: A): JwtDecoder[A]

Returns a JwtDecoder which always decodes to the specified value.

Returns a JwtDecoder which always decodes to the specified value.

Attributes

Source
JwtDecoder.scala

Returns a JwtDecoder which decodes the verified claims using a Decoder instance.

Returns a JwtDecoder which decodes the verified claims using a Decoder instance.

Attributes

Source
JwtDecoder.scala
def decodeWith[A](f: VerifiedJwt => Result[A]): JwtDecoder[A]

Returns a JwtDecoder which decodes using the specified function.

Returns a JwtDecoder which decodes using the specified function.

Attributes

Source
JwtDecoder.scala
def failed[A](failure: DecodingFailure): JwtDecoder[A]

Returns a JwtDecoder which always fails with the specified DecodingFailure.

Returns a JwtDecoder which always fails with the specified DecodingFailure.

Attributes

Source
JwtDecoder.scala

Implicits

Implicits