Packages

object JwtSimple extends Object with JwtSimple

JwtSimple Singleton

Annotations
@native() @JSImport( "jwt-simple" , JSImport.Namespace )
Linear Supertypes
JwtSimple, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JwtSimple
  2. JwtSimple
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def decode(token: JwtToken, secret: String, skipVerification: Boolean, algorithm: Algorithm): Any

    Decodes the token using the specified secret and algorithm

    Decodes the token using the specified secret and algorithm

    token

    the given token to decode

    secret

    the given secret

    skipVerification

    if true, decode without verify the signature of the token

    algorithm

    The supported algorithms for encoding and decoding are HS256, HS384, HS512 and RS256.

    Definition Classes
    JwtSimple
    Example:
    1. jwt.decode(token, secret, true)

  7. def decode(token: JwtToken, secret: String, skipVerification: Boolean): Any

    Decodes the token using the specified secret and algorithm

    Decodes the token using the specified secret and algorithm

    token

    the given token to decode

    secret

    the given secret

    skipVerification

    if true, decode without verify the signature of the token

    Definition Classes
    JwtSimple
    Example:
    1. jwt.decode(token, secret, true)

  8. def decode(token: JwtToken, secret: String): Any

    Decodes the token using the specified secret

    Decodes the token using the specified secret

    token

    the given token to decode

    secret

    the given secret

    Definition Classes
    JwtSimple
    Example:
    1. jwt.decode(token, secret)

  9. def encode(payload: Any, secret: String, algorithm: Algorithm): JwtToken

    Encodes the payload using the specified secret and algorithm

    Encodes the payload using the specified secret and algorithm

    payload

    the given payload to encode

    secret

    the given secret

    algorithm

    The supported algorithms for encoding and decoding are HS256, HS384, HS512 and RS256.

    Definition Classes
    JwtSimple
    Example:
    1. jwt.encode(payload, secret, "HS512")

  10. def encode(payload: Any, secret: String): JwtToken

    Encodes the payload using the specified secret

    Encodes the payload using the specified secret

    payload

    the given payload to encode

    secret

    the given secret

    Definition Classes
    JwtSimple
    Example:
    1. jwt.encode(payload, secret)

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toLocaleString(): String
    Definition Classes
    Object
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def valueOf(): Any
    Definition Classes
    Object
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JwtSimple

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped