Trait/Object

io.scalajs.npm.jwtsimple

JwtSimple

Related Docs: object JwtSimple | package jwtsimple

Permalink

trait JwtSimple extends Object

jwt-simple - JWT(JSON Web Token) encode and decode module

Annotations
@RawJSType() @native()
Version

0.5.0

See also

https://www.npmjs.com/package/jwt-simple

Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JwtSimple
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 decode(token: JwtToken, secret: String, skipVerification: Boolean, algorithm: Algorithm): Any

    Permalink

    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.

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

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

    Permalink

    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

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

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

    Permalink

    Decodes the token using the specified secret

    Decodes the token using the specified secret

    token

    the given token to decode

    secret

    the given secret

    Example:
    1. jwt.decode(token, secret)

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

    Permalink

    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.

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

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

    Permalink

    Encodes the payload using the specified secret

    Encodes the payload using the specified secret

    payload

    the given payload to encode

    secret

    the given secret

    Example:
    1. jwt.encode(payload, secret)

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  27. final def wait(): Unit

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

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

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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped