jwt-core
jwt-core
pdi.jwt
Jwt
Jwt
JwtAlgorithm
JwtAlgorithm
ES256
ES384
ES512
Ed25519
HMD5
HS224
HS256
HS384
HS512
RS256
RS384
RS512
JwtBase64
JwtClaim
JwtClaim
JwtCore
JwtHeader
JwtHeader
JwtOptions
JwtOptions
JwtTime
JwtUtils
pdi.jwt.algorithms
JwtAsymmetricAlgorithm
JwtECDSAAlgorithm
JwtEdDSAAlgorithm
JwtHmacAlgorithm
JwtRSAAlgorithm
JwtUnknownAlgorithm
pdi.jwt.exceptions
JwtEmptyAlgorithmException
JwtEmptySignatureException
JwtException
JwtExpirationException
JwtLengthException
JwtNonEmptyAlgorithmException
JwtNonEmptySignatureException
JwtNonNumberException
JwtNonNumberException
JwtNonStringException
JwtNonStringException
JwtNonStringSetOrStringException
JwtNonSupportedAlgorithm
JwtNonSupportedCurve
JwtNotBeforeException
JwtSignatureFormatException
JwtValidationException
jwt-core
/
pdi.jwt
/
JwtClaim
JwtClaim
class
JwtClaim
(
val
content:
String
,
val
issuer:
Option
[
String
],
val
subject:
Option
[
String
],
val
audience:
Option
[
Set
[
String
]],
val
expiration:
Option
[
Long
],
val
notBefore:
Option
[
Long
],
val
issuedAt:
Option
[
Long
],
val
jwtId:
Option
[
String
])
Companion:
object
Graph
Supertypes
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
+
(
json:
String
):
JwtClaim
def
+
(
key:
String
,
value:
Any
):
JwtClaim
def
++
[
T
](
fields: (
String
,
T
)*):
JwtClaim
def
about
(
subject:
String
):
JwtClaim
def
by
(
issuer:
String
):
JwtClaim
def
canEqual
(
other:
Any
):
Boolean
override
def
equals
(
other:
Any
):
Boolean
Definition Classes
Any
def
expiresAt
(
seconds:
Long
):
JwtClaim
def
expiresIn
(
seconds:
Long
)(
implicit
clock:
Clock
):
JwtClaim
def
expiresNow
(
implicit
clock:
Clock
):
JwtClaim
override
def
hashCode
():
Int
Definition Classes
Any
def
isValid
(
issuer:
String
,
audience:
String
)(
implicit
clock:
Clock
):
Boolean
def
isValid
(
issuer:
String
)(
implicit
clock:
Clock
):
Boolean
def
isValid
(
implicit
clock:
Clock
):
Boolean
def
issuedAt
(
seconds:
Long
):
JwtClaim
def
issuedIn
(
seconds:
Long
)(
implicit
clock:
Clock
):
JwtClaim
def
issuedNow
(
implicit
clock:
Clock
):
JwtClaim
def
startsAt
(
seconds:
Long
):
JwtClaim
def
startsIn
(
seconds:
Long
)(
implicit
clock:
Clock
):
JwtClaim
def
startsNow
(
implicit
clock:
Clock
):
JwtClaim
def
to
(
audience:
String
):
JwtClaim
def
to
(
audience:
Set
[
String
]):
JwtClaim
def
toJson
:
String
override
def
toString
:
String
Definition Classes
Any
def
withContent
(
content:
String
):
JwtClaim
def
withId
(
id:
String
):
JwtClaim
Concrete fields
val
audience
:
Option
[
Set
[
String
]]
val
content
:
String
val
expiration
:
Option
[
Long
]
val
issuedAt
:
Option
[
Long
]
val
issuer
:
Option
[
String
]
val
jwtId
:
Option
[
String
]
val
notBefore
:
Option
[
Long
]
val
subject
:
Option
[
String
]