pdi
.
jwt
JwtJsonCommon
Related Doc:
package jwt
trait
JwtJsonCommon
[
J
]
extends
JwtCore
[
JwtHeader
,
JwtClaim
]
Linear Supertypes
JwtCore
[
JwtHeader
,
JwtClaim
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
JwtJsonCommon
JwtCore
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
getAlgorithm
(
header:
J
)
:
Option
[
JwtAlgorithm
]
Attributes
protected
abstract
def
parse
(
value:
String
)
:
J
Attributes
protected
abstract
def
parseClaim
(
claim:
String
)
:
JwtClaim
Attributes
protected
Definition Classes
JwtCore
abstract
def
parseHeader
(
header:
String
)
:
JwtHeader
Attributes
protected
Definition Classes
JwtCore
abstract
def
stringify
(
value:
J
)
:
String
Attributes
protected
Concrete 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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
decode
(
token:
String
,
key:
PublicKey
)
:
Try
[
JwtClaim
]
Definition Classes
JwtCore
def
decode
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[
JwtClaim
]
Definition Classes
JwtCore
def
decode
(
token:
String
,
key:
SecretKey
)
:
Try
[
JwtClaim
]
Definition Classes
JwtCore
def
decode
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[
JwtClaim
]
Definition Classes
JwtCore
def
decode
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[
JwtClaim
]
Definition Classes
JwtCore
def
decode
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[
JwtClaim
]
Definition Classes
JwtCore
def
decode
(
token:
String
)
:
Try
[
JwtClaim
]
Definition Classes
JwtCore
def
decodeAll
(
token:
String
,
key:
PublicKey
)
:
Try
[(
JwtHeader
,
JwtClaim
,
String
)]
Definition Classes
JwtCore
def
decodeAll
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[(
JwtHeader
,
JwtClaim
,
String
)]
Definition Classes
JwtCore
def
decodeAll
(
token:
String
,
key:
SecretKey
)
:
Try
[(
JwtHeader
,
JwtClaim
,
String
)]
Definition Classes
JwtCore
def
decodeAll
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[(
JwtHeader
,
JwtClaim
,
String
)]
Definition Classes
JwtCore
def
decodeAll
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[(
JwtHeader
,
JwtClaim
,
String
)]
Definition Classes
JwtCore
def
decodeAll
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[(
JwtHeader
,
JwtClaim
,
String
)]
Definition Classes
JwtCore
def
decodeAll
(
token:
String
)
:
Try
[(
JwtHeader
,
JwtClaim
,
String
)]
Definition Classes
JwtCore
def
decodeJson
(
token:
String
,
key:
PublicKey
)
:
Try
[
J
]
def
decodeJson
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[
J
]
def
decodeJson
(
token:
String
,
key:
SecretKey
)
:
Try
[
J
]
def
decodeJson
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[
J
]
def
decodeJson
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[
J
]
def
decodeJson
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[
J
]
def
decodeJson
(
token:
String
)
:
Try
[
J
]
def
decodeJsonAll
(
token:
String
,
key:
PublicKey
)
:
Try
[(
J
,
J
,
String
)]
def
decodeJsonAll
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[(
J
,
J
,
String
)]
def
decodeJsonAll
(
token:
String
,
key:
SecretKey
)
:
Try
[(
J
,
J
,
String
)]
def
decodeJsonAll
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[(
J
,
J
,
String
)]
def
decodeJsonAll
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[(
J
,
J
,
String
)]
def
decodeJsonAll
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[(
J
,
J
,
String
)]
def
decodeJsonAll
(
token:
String
)
:
Try
[(
J
,
J
,
String
)]
def
decodeRaw
(
token:
String
,
key:
PublicKey
)
:
Try
[
String
]
Definition Classes
JwtCore
def
decodeRaw
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[
String
]
Definition Classes
JwtCore
def
decodeRaw
(
token:
String
,
key:
SecretKey
)
:
Try
[
String
]
Definition Classes
JwtCore
def
decodeRaw
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[
String
]
Definition Classes
JwtCore
def
decodeRaw
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[
String
]
Definition Classes
JwtCore
def
decodeRaw
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[
String
]
Definition Classes
JwtCore
def
decodeRaw
(
token:
String
)
:
Try
[
String
]
Definition Classes
JwtCore
def
decodeRawAll
(
token:
String
,
key:
PublicKey
)
:
Try
[(
String
,
String
,
String
)]
Definition Classes
JwtCore
def
decodeRawAll
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[(
String
,
String
,
String
)]
Definition Classes
JwtCore
def
decodeRawAll
(
token:
String
,
key:
SecretKey
)
:
Try
[(
String
,
String
,
String
)]
Definition Classes
JwtCore
def
decodeRawAll
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[(
String
,
String
,
String
)]
Definition Classes
JwtCore
def
decodeRawAll
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Try
[(
String
,
String
,
String
)]
Definition Classes
JwtCore
def
decodeRawAll
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Try
[(
String
,
String
,
String
)]
Definition Classes
JwtCore
def
decodeRawAll
(
token:
String
)
:
Try
[(
String
,
String
,
String
)]
Definition Classes
JwtCore
def
encode
(
claim:
J
,
key:
PrivateKey
,
algorithm:
JwtAsymetricAlgorithm
)
:
String
def
encode
(
claim:
J
,
key:
SecretKey
,
algorithm:
JwtHmacAlgorithm
)
:
String
def
encode
(
claim:
J
,
key:
String
,
algorithm:
JwtAlgorithm
)
:
String
def
encode
(
claim:
J
)
:
String
def
encode
(
header:
J
,
claim:
J
,
key:
Key
)
:
String
def
encode
(
header:
J
,
claim:
J
,
key:
String
)
:
String
def
encode
(
header:
J
,
claim:
J
)
:
String
def
encode
(
header:
JwtHeader
,
claim:
JwtClaim
,
key:
Key
)
:
String
Definition Classes
JwtCore
def
encode
(
header:
JwtHeader
,
claim:
JwtClaim
,
key:
String
)
:
String
Definition Classes
JwtCore
def
encode
(
header:
JwtHeader
,
claim:
JwtClaim
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
JwtClaim
,
key:
PrivateKey
,
algorithm:
JwtAsymetricAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
JwtClaim
,
key:
SecretKey
,
algorithm:
JwtHmacAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
JwtClaim
,
key:
String
,
algorithm:
JwtAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
JwtClaim
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
String
,
key:
PrivateKey
,
algorithm:
JwtAsymetricAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
String
,
key:
SecretKey
,
algorithm:
JwtHmacAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
String
,
key:
String
,
algorithm:
JwtAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
claim:
String
)
:
String
Definition Classes
JwtCore
def
encode
(
header:
String
,
claim:
String
,
key:
PrivateKey
,
algorithm:
JwtAsymetricAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
header:
String
,
claim:
String
,
key:
SecretKey
,
algorithm:
JwtHmacAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
header:
String
,
claim:
String
,
key:
String
,
algorithm:
JwtAlgorithm
)
:
String
Definition Classes
JwtCore
def
encode
(
header:
String
,
claim:
String
)
:
String
Definition Classes
JwtCore
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
extractAlgorithm
(
header:
JwtHeader
)
:
Option
[
JwtAlgorithm
]
Attributes
protected
Definition Classes
JwtJsonCommon
→ JwtCore
def
extractExpiration
(
claim:
JwtClaim
)
:
Option
[
Long
]
Attributes
protected
Definition Classes
JwtJsonCommon
→ JwtCore
def
extractNotBefore
(
claim:
JwtClaim
)
:
Option
[
Long
]
Attributes
protected
Definition Classes
JwtJsonCommon
→ JwtCore
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isValid
(
token:
String
,
key:
PublicKey
)
:
Boolean
Definition Classes
JwtCore
def
isValid
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Boolean
Definition Classes
JwtCore
def
isValid
(
token:
String
,
key:
SecretKey
)
:
Boolean
Definition Classes
JwtCore
def
isValid
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Boolean
Definition Classes
JwtCore
def
isValid
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Boolean
Definition Classes
JwtCore
def
isValid
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Boolean
Definition Classes
JwtCore
def
isValid
(
token:
String
)
:
Boolean
Definition Classes
JwtCore
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
validate
(
token:
String
,
key:
PublicKey
)
:
Unit
Definition Classes
JwtCore
def
validate
(
token:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Unit
Definition Classes
JwtCore
def
validate
(
token:
String
,
key:
SecretKey
)
:
Unit
Definition Classes
JwtCore
def
validate
(
token:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Unit
Definition Classes
JwtCore
def
validate
(
token:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Unit
Definition Classes
JwtCore
def
validate
(
token:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Unit
Definition Classes
JwtCore
def
validate
(
token:
String
)
:
Unit
Definition Classes
JwtCore
def
validate
(
header64:
String
,
header:
JwtHeader
,
claim64:
String
,
claim:
JwtClaim
,
signature:
String
,
key:
PublicKey
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Unit
Attributes
protected
Definition Classes
JwtCore
def
validate
(
header64:
String
,
header:
JwtHeader
,
claim64:
String
,
claim:
JwtClaim
,
signature:
String
,
key:
SecretKey
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Unit
Attributes
protected
Definition Classes
JwtCore
def
validate
(
header64:
String
,
header:
JwtHeader
,
claim64:
String
,
claim:
JwtClaim
,
signature:
String
,
key:
String
,
algorithms: ⇒
Seq
[
JwtAsymetricAlgorithm
]
)
:
Unit
Attributes
protected
Definition Classes
JwtCore
def
validate
(
header64:
String
,
header:
JwtHeader
,
claim64:
String
,
claim:
JwtClaim
,
signature:
String
,
key:
String
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Unit
Attributes
protected
Definition Classes
JwtCore
def
validate
(
header64:
String
,
header:
JwtHeader
,
claim64:
String
,
claim:
JwtClaim
,
signature:
String
,
verify: (
Array
[
Byte
],
Array
[
Byte
],
JwtAlgorithm
) ⇒
Boolean
)
:
Unit
Attributes
protected
Definition Classes
JwtCore
def
validate
(
header:
JwtHeader
,
claim:
JwtClaim
,
signature:
String
)
:
Unit
Attributes
protected
Definition Classes
JwtCore
def
validateAsymetricAlgorithm
(
algorithm:
JwtAsymetricAlgorithm
,
algorithms:
Seq
[
JwtAsymetricAlgorithm
]
)
:
Boolean
Attributes
protected
Definition Classes
JwtCore
def
validateHmacAlgorithm
(
algorithm:
JwtHmacAlgorithm
,
algorithms:
Seq
[
JwtHmacAlgorithm
]
)
:
Boolean
Attributes
protected
Definition Classes
JwtCore
def
validateTiming
(
claim:
JwtClaim
)
:
Unit
Attributes
protected
Definition Classes
JwtCore
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
@throws
(
...
)
Inherited from
JwtCore
[
JwtHeader
,
JwtClaim
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped