final case class JwtServiceOptions(validate: JwtServiceMode = kalix.jwt.JwtServiceOptions.JwtServiceMode.UNSPECIFIED, bearerTokenIssuer: Seq[String] = _root_.scala.Seq.empty, staticClaim: Seq[JwtStaticClaim] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[JwtServiceOptions] 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
- JwtServiceOptions.scala
- Alphabetic
- By Inheritance
- JwtServiceOptions
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JwtServiceOptions(validate: JwtServiceMode = kalix.jwt.JwtServiceOptions.JwtServiceMode.UNSPECIFIED, 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 JwtServiceOptions toany2stringadd[JwtServiceOptions] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (JwtServiceOptions, B)
- Implicit
- This member is added by an implicit conversion from JwtServiceOptions toArrowAssoc[JwtServiceOptions] 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]): JwtServiceOptions
- def addAllStaticClaim(__vs: Iterable[JwtStaticClaim]): JwtServiceOptions
- def addBearerTokenIssuer(__vs: String*): JwtServiceOptions
- def addStaticClaim(__vs: JwtStaticClaim*): JwtServiceOptions
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bearerTokenIssuer: Seq[String]
- def clearBearerTokenIssuer: JwtServiceOptions
- def clearStaticClaim: JwtServiceOptions
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: JwtServiceOptions.type
- Definition Classes
- JwtServiceOptions → GeneratedMessage
- def discardUnknownFields: JwtServiceOptions
- def ensuring(cond: (JwtServiceOptions) => Boolean, msg: => Any): JwtServiceOptions
- Implicit
- This member is added by an implicit conversion from JwtServiceOptions toEnsuring[JwtServiceOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (JwtServiceOptions) => Boolean): JwtServiceOptions
- Implicit
- This member is added by an implicit conversion from JwtServiceOptions toEnsuring[JwtServiceOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): JwtServiceOptions
- Implicit
- This member is added by an implicit conversion from JwtServiceOptions toEnsuring[JwtServiceOptions] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): JwtServiceOptions
- Implicit
- This member is added by an implicit conversion from JwtServiceOptions toEnsuring[JwtServiceOptions] 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
- JwtServiceOptions → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- JwtServiceOptions → 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
- JwtServiceOptions → GeneratedMessage
- 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
- JwtServiceOptions → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[JwtServiceOptions, JwtServiceOptions]) => Mutation[JwtServiceOptions]*): JwtServiceOptions
- Definition Classes
- Updatable
- val validate: JwtServiceMode
- 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]): JwtServiceOptions
- def withStaticClaim(__v: Seq[JwtStaticClaim]): JwtServiceOptions
- def withUnknownFields(__v: UnknownFieldSet): JwtServiceOptions
- def withValidate(__v: JwtServiceMode): JwtServiceOptions
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- JwtServiceOptions → 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 JwtServiceOptions toStringFormat[JwtServiceOptions] 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): (JwtServiceOptions, B)
- Implicit
- This member is added by an implicit conversion from JwtServiceOptions toArrowAssoc[JwtServiceOptions] 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.