Packages

class JWTOptions extends jwt.JWTOptions

Options related to creation of new tokens.

If any expiresInMinutes, audience, subject, issuer are not provided, there is no default. The jwt generated won't include those properties in the payload.

Generated JWTs will include an iat claim by default unless noTimestamp is specified.

Linear Supertypes
jwt.JWTOptions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JWTOptions
  2. JWTOptions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JWTOptions(_asJava: ext.auth.jwt.JWTOptions)

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. def addAudience(value: String): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  5. def addPermission(value: String): JWTOptions

    The permissions of this token.

    The permissions of this token.

    Definition Classes
    JWTOptionsJWTOptions
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asJava: ext.auth.jwt.JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def getAlgorithm: String
    Definition Classes
    JWTOptionsJWTOptions
  13. def getAudience: Buffer[String]
    Definition Classes
    JWTOptionsJWTOptions
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getExpiresInSeconds: Int
    Definition Classes
    JWTOptionsJWTOptions
  16. def getHeader: JsonObject
    Definition Classes
    JWTOptionsJWTOptions
  17. def getIssuer: String
    Definition Classes
    JWTOptionsJWTOptions
  18. def getLeeway: Int
    Definition Classes
    JWTOptionsJWTOptions
  19. def getPermissions: Buffer[String]
    Definition Classes
    JWTOptionsJWTOptions
  20. def getSubject: String
    Definition Classes
    JWTOptionsJWTOptions
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def isIgnoreExpiration: Boolean
    Definition Classes
    JWTOptionsJWTOptions
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isNoTimestamp: Boolean
    Definition Classes
    JWTOptionsJWTOptions
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def setAlgorithm(value: String): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  29. def setAudience(value: Buffer[String]): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  30. def setExpiresInMinutes(value: Int): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  31. def setExpiresInSeconds(value: Int): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  32. def setHeader(value: JsonObject): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  33. def setIgnoreExpiration(value: Boolean): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  34. def setIssuer(value: String): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  35. def setLeeway(value: Int): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  36. def setNoTimestamp(value: Boolean): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  37. def setPermissions(value: Buffer[String]): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  38. def setSubject(value: String): JWTOptions
    Definition Classes
    JWTOptionsJWTOptions
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from jwt.JWTOptions

Inherited from AnyRef

Inherited from Any

Ungrouped