java.lang.Object
swim.security.JsonWebToken
swim.security.OpenIdToken
- All Implemented Interfaces:
swim.codec.Debug
- Direct Known Subclasses:
GoogleIdToken
-
Field Summary
Fields inherited from class swim.security.JsonWebToken
value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionswim.structure.DataaccessTokenHash(swim.structure.Data accessTokenHash) authenticationContextClass(String authenticationContextClass) swim.collections.FingerTrieSeq<String>authenticationMethods(String... authenticationMethods) authorizedParty(String authorizedParty) longauthTime()authTime(long authTime) protected OpenIdTokencopy(swim.structure.Value value) expiration(long expiration) static OpenIdTokenfrom(swim.structure.Value value) issuedAt(long issuedAt) nonce()notBefore(long notBefore) static OpenIdTokenstatic OpenIdTokenverify(String compactJws, Iterable<PublicKeyDef> publicKeyDefs) static OpenIdTokenverify(JsonWebSignature jws, Iterable<PublicKeyDef> publicKeyDefs)
-
Constructor Details
-
OpenIdToken
public OpenIdToken(swim.structure.Value value) -
OpenIdToken
public OpenIdToken()
-
-
Method Details
-
issuer
- Overrides:
issuerin classJsonWebToken
-
subject
- Overrides:
subjectin classJsonWebToken
-
audience
- Overrides:
audiencein classJsonWebToken
-
audiences
- Overrides:
audiencesin classJsonWebToken
-
expiration
- Overrides:
expirationin classJsonWebToken
-
notBefore
- Overrides:
notBeforein classJsonWebToken
-
issuedAt
- Overrides:
issuedAtin classJsonWebToken
-
jwtId
- Overrides:
jwtIdin classJsonWebToken
-
authTime
public long authTime() -
authTime
-
nonce
-
nonce
-
accessTokenHash
public swim.structure.Data accessTokenHash() -
accessTokenHash
-
authenticationContextClass
-
authenticationContextClass
-
authenticationMethods
-
authenticationMethods
-
authorizedParty
-
authorizedParty
-
copy
- Overrides:
copyin classJsonWebToken
-
from
-
parse
-
verify
-
verify
-