final case class JwtMethodOptions(validate: Seq[JwtMethodMode] = _root_.scala.Seq.empty, sign: Seq[JwtMethodMode] = _root_.scala.Seq.empty, bearerTokenIssuer: Seq[String] = _root_.scala.Seq.empty, staticClaim: Seq[JwtStaticClaim] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[JwtMethodOptions] with Product with Serializable
- bearerTokenIssuer
If set, then the token extracted from the bearer token must have this issuer. This can be used in combination with the issuer field of configuration for JWT secrets, if there is at least one secret that has this issuer set, then only those secrets with that issuer set will be used for validating or signing this token, so you can be sure that the token did come from a particular issuer.
- staticClaim
If set, the static claims provided and their values will be required when calling the service. When multiple claims are provided, all of them will be required to successfully call the service.
- Annotations
- @SerialVersionUID()
- Source
- JwtMethodOptions.scala
- Alphabetic
- By Inheritance
- JwtMethodOptions
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JwtMethodOptions(validate: Seq[JwtMethodMode] = _root_.scala.Seq.empty, sign: Seq[JwtMethodMode] = _root_.scala.Seq.empty, bearerTokenIssuer: Seq[String] = _root_.scala.Seq.empty, staticClaim: Seq[JwtStaticClaim] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- bearerTokenIssuer
If set, then the token extracted from the bearer token must have this issuer. This can be used in combination with the issuer field of configuration for JWT secrets, if there is at least one secret that has this issuer set, then only those secrets with that issuer set will be used for validating or signing this token, so you can be sure that the token did come from a particular issuer.
- staticClaim
If set, the static claims provided and their values will be required when calling the service. When multiple claims are provided, all of them will be required to successfully call the service.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toany2stringadd[JwtMethodOptions] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (JwtMethodOptions, B)
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toArrowAssoc[JwtMethodOptions] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllBearerTokenIssuer(__vs: Iterable[String]): JwtMethodOptions
- def addAllSign(__vs: Iterable[JwtMethodMode]): JwtMethodOptions
- def addAllStaticClaim(__vs: Iterable[JwtStaticClaim]): JwtMethodOptions
- def addAllValidate(__vs: Iterable[JwtMethodMode]): JwtMethodOptions
- def addBearerTokenIssuer(__vs: String*): JwtMethodOptions
- def addSign(__vs: JwtMethodMode*): JwtMethodOptions
- def addStaticClaim(__vs: JwtStaticClaim*): JwtMethodOptions
- def addValidate(__vs: JwtMethodMode*): JwtMethodOptions
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bearerTokenIssuer: Seq[String]
- def clearBearerTokenIssuer: JwtMethodOptions
- def clearSign: JwtMethodOptions
- def clearStaticClaim: JwtMethodOptions
- def clearValidate: JwtMethodOptions
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: JwtMethodOptions.type
- Definition Classes
- JwtMethodOptions → GeneratedMessage
- def discardUnknownFields: JwtMethodOptions
- def ensuring(cond: (JwtMethodOptions) => Boolean, msg: => Any): JwtMethodOptions
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toEnsuring[JwtMethodOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (JwtMethodOptions) => Boolean): JwtMethodOptions
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toEnsuring[JwtMethodOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): JwtMethodOptions
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toEnsuring[JwtMethodOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): JwtMethodOptions
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toEnsuring[JwtMethodOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- JwtMethodOptions → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- JwtMethodOptions → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- JwtMethodOptions → GeneratedMessage
- val sign: Seq[JwtMethodMode]
- val staticClaim: Seq[JwtStaticClaim]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- JwtMethodOptions → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[JwtMethodOptions, JwtMethodOptions]) => Mutation[JwtMethodOptions]*): JwtMethodOptions
- Definition Classes
- Updatable
- val validate: Seq[JwtMethodMode]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withBearerTokenIssuer(__v: Seq[String]): JwtMethodOptions
- def withSign(__v: Seq[JwtMethodMode]): JwtMethodOptions
- def withStaticClaim(__v: Seq[JwtStaticClaim]): JwtMethodOptions
- def withUnknownFields(__v: UnknownFieldSet): JwtMethodOptions
- def withValidate(__v: Seq[JwtMethodMode]): JwtMethodOptions
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- JwtMethodOptions → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toStringFormat[JwtMethodOptions] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (JwtMethodOptions, B)
- Implicit
- This member is added by an implicit conversion from JwtMethodOptions toArrowAssoc[JwtMethodOptions] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.