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
Ordering
- Alphabetic
- By Inheritance
Inherited
- JWTOptions
- JWTOptions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new JWTOptions(_asJava: ext.auth.jwt.JWTOptions)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAudience(value: String): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
addPermission(value: String): JWTOptions
The permissions of this token.
The permissions of this token.
- Definition Classes
- JWTOptions → JWTOptions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: ext.auth.jwt.JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getAlgorithm: String
- Definition Classes
- JWTOptions → JWTOptions
-
def
getAudience: Buffer[String]
- Definition Classes
- JWTOptions → JWTOptions
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getExpiresInSeconds: Int
- Definition Classes
- JWTOptions → JWTOptions
-
def
getHeader: JsonObject
- Definition Classes
- JWTOptions → JWTOptions
-
def
getIssuer: String
- Definition Classes
- JWTOptions → JWTOptions
-
def
getLeeway: Int
- Definition Classes
- JWTOptions → JWTOptions
-
def
getPermissions: Buffer[String]
- Definition Classes
- JWTOptions → JWTOptions
-
def
getSubject: String
- Definition Classes
- JWTOptions → JWTOptions
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isIgnoreExpiration: Boolean
- Definition Classes
- JWTOptions → JWTOptions
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNoTimestamp: Boolean
- Definition Classes
- JWTOptions → JWTOptions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setAlgorithm(value: String): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setAudience(value: Buffer[String]): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setExpiresInMinutes(value: Int): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setExpiresInSeconds(value: Int): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setHeader(value: JsonObject): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setIgnoreExpiration(value: Boolean): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setIssuer(value: String): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setLeeway(value: Int): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setNoTimestamp(value: Boolean): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setPermissions(value: Buffer[String]): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
def
setSubject(value: String): JWTOptions
- Definition Classes
- JWTOptions → JWTOptions
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )