JWTResult

io.really.jwt.JWTResult
See theJWTResult companion class
object JWTResult

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
JWTResult.type

Members list

Type members

Classlikes

case object EmptyJWT extends JWTResult

Represent Failure Result from decode operation in case JWT is empty

Represent Failure Result from decode operation in case JWT is empty

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class JWTResult
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
EmptyJWT.type
case object InvalidHeader extends JWTResult

Represent Failure Result from decode operation in case JWT has invalid header

Represent Failure Result from decode operation in case JWT has invalid header

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class JWTResult
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object InvalidSignature extends JWTResult

Represent Failure Result from decode operation in case JWT has invalid Signature

Represent Failure Result from decode operation in case JWT has invalid Signature

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class JWTResult
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case class JWT(header: JWTHeader, payload: JsObject) extends JWTResult

Represent JWT data

Represent JWT data

Value parameters

header

is the header for jwt

payload

is the data for jwt

Attributes

Supertypes
class JWTResult
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object NotEnoughSegments extends JWTResult

Represent Failure Result from decode operation in case JWT has not enough segments

Represent Failure Result from decode operation in case JWT has not enough segments

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class JWTResult
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object TooManySegments extends JWTResult

Represent Failure Result from decode operation in case JWT has too many segments

Represent Failure Result from decode operation in case JWT has too many segments

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
class JWTResult
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror