Class/Object

io.igl.jwt

DecodedJwt

Related Docs: object DecodedJwt | package jwt

Permalink

class DecodedJwt extends Jwt

A class representing a decoded jwt.

When an Alg value is omitted it defaults to none. Where multiple headers or claims with the same field name are provided, the last occurrence is used.

Linear Supertypes
Jwt, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DecodedJwt
  2. Jwt
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DecodedJwt(headers_: Seq[HeaderValue], claims_: Seq[ClaimValue])

    Permalink

    headers_

    the values of the headers to be set

    claims_

    the values of the claims to be set

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def encodedAndSigned(secret: Array[Byte]): String

    Permalink
  7. def encodedAndSigned(secret: String): String

    Permalink

    Returns an encoded representation of the decoded jwt, signed with a signature generated with the secret provided.

    Returns an encoded representation of the decoded jwt, signed with a signature generated with the secret provided.

    secret

    the secret to use when signing the jwt

    returns

    an encoded representation of the decoded jwt

    Definition Classes
    DecodedJwtJwt
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    DecodedJwt → AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getClaim[T <: ClaimValue](implicit arg0: ClassTag[T]): Option[T]

    Permalink

    Attempts to return a ClaimValue of the provided type.

    Attempts to return a ClaimValue of the provided type.

    T

    the type of a potential claim

    returns

    returns None if no claim found, otherwise a claim of the same type as requested wrapped in Some

    Definition Classes
    DecodedJwtJwt
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getHeader[T <: HeaderValue](implicit arg0: ClassTag[T]): Option[T]

    Permalink

    Attempts to return a HeaderValue of the provided type.

    Attempts to return a HeaderValue of the provided type.

    T

    the type of a potential header

    returns

    returns None if no header found, otherwise a header of the same type as requested wrapped in Some

    Definition Classes
    DecodedJwtJwt
  14. def hashCode(): Int

    Permalink
    Definition Classes
    DecodedJwt → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    DecodedJwt → AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Jwt

Inherited from AnyRef

Inherited from Any

Ungrouped