java.lang.Object
swim.security.JsonWebToken
swim.security.OpenIdToken
- All Implemented Interfaces:
Debug
- Direct Known Subclasses:
GoogleIdToken
-
Field Summary
Fields inherited from class swim.security.JsonWebToken
value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessTokenHash
(Data accessTokenHash) authenticationContextClass
(String authenticationContextClass) authenticationMethods
(String... authenticationMethods) authorizedParty
(String authorizedParty) long
authTime()
authTime
(long authTime) protected OpenIdToken
expiration
(long expiration) static OpenIdToken
issuedAt
(long issuedAt) nonce()
notBefore
(long notBefore) static OpenIdToken
static OpenIdToken
verify
(String compactJws, Iterable<PublicKeyDef> publicKeyDefs) static OpenIdToken
verify
(JsonWebSignature jws, Iterable<PublicKeyDef> publicKeyDefs)
-
Constructor Details
-
OpenIdToken
-
OpenIdToken
public OpenIdToken()
-
-
Method Details
-
issuer
- Overrides:
issuer
in classJsonWebToken
-
subject
- Overrides:
subject
in classJsonWebToken
-
audience
- Overrides:
audience
in classJsonWebToken
-
audiences
- Overrides:
audiences
in classJsonWebToken
-
expiration
- Overrides:
expiration
in classJsonWebToken
-
notBefore
- Overrides:
notBefore
in classJsonWebToken
-
issuedAt
- Overrides:
issuedAt
in classJsonWebToken
-
jwtId
- Overrides:
jwtId
in classJsonWebToken
-
authTime
public long authTime() -
authTime
-
nonce
-
nonce
-
accessTokenHash
-
accessTokenHash
-
authenticationContextClass
-
authenticationContextClass
-
authenticationMethods
-
authenticationMethods
-
authorizedParty
-
authorizedParty
-
copy
- Overrides:
copy
in classJsonWebToken
-
from
-
parse
-
verify
-
verify
-