java.lang.Object
swim.security.JsonWebToken
swim.security.OpenIdToken
swim.security.GoogleIdToken
- All Implemented Interfaces:
Debug
-
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) authTime
(long authTime) protected GoogleIdToken
email()
boolean
emailVerified
(boolean emailVerified) expiration
(long expiration) familyName
(String familyName) static GoogleIdToken
hostedDomain
(String hostedDomain) issuedAt
(long issuedAt) locale()
name()
notBefore
(long notBefore) static GoogleIdToken
picture()
static GoogleIdToken
verify
(String compactJws, Iterable<PublicKeyDef> publicKeyDefs) static GoogleIdToken
verify
(JsonWebSignature jws, Iterable<PublicKeyDef> publicKeyDefs) Methods inherited from class swim.security.OpenIdToken
accessTokenHash, authenticationContextClass, authenticationMethods, authorizedParty, authTime, nonce
-
Constructor Details
-
GoogleIdToken
-
GoogleIdToken
public GoogleIdToken()
-
-
Method Details
-
issuer
- Overrides:
issuer
in classOpenIdToken
-
subject
- Overrides:
subject
in classOpenIdToken
-
audience
- Overrides:
audience
in classOpenIdToken
-
audiences
- Overrides:
audiences
in classOpenIdToken
-
expiration
- Overrides:
expiration
in classOpenIdToken
-
notBefore
- Overrides:
notBefore
in classOpenIdToken
-
issuedAt
- Overrides:
issuedAt
in classOpenIdToken
-
jwtId
- Overrides:
jwtId
in classOpenIdToken
-
authTime
- Overrides:
authTime
in classOpenIdToken
-
nonce
- Overrides:
nonce
in classOpenIdToken
-
accessTokenHash
- Overrides:
accessTokenHash
in classOpenIdToken
-
authenticationContextClass
- Overrides:
authenticationContextClass
in classOpenIdToken
-
authenticationMethods
- Overrides:
authenticationMethods
in classOpenIdToken
-
authorizedParty
- Overrides:
authorizedParty
in classOpenIdToken
-
hostedDomain
-
hostedDomain
-
email
-
email
-
emailVerified
public boolean emailVerified() -
emailVerified
-
name
-
name
-
picture
-
picture
-
givenName
-
givenName
-
familyName
-
familyName
-
locale
-
locale
-
copy
- Overrides:
copy
in classOpenIdToken
-
from
-
parse
-
verify
-
verify
-