- java.lang.Object
-
- swim.security.JsonWebToken
-
- swim.security.OpenIdToken
-
- swim.security.GoogleIdToken
-
- All Implemented Interfaces:
Debug
public class GoogleIdToken extends OpenIdToken
-
-
Field Summary
-
Fields inherited from class swim.security.JsonWebToken
value
-
-
Constructor Summary
Constructors Constructor Description GoogleIdToken()
GoogleIdToken(Value value)
-
Method Summary
-
Methods inherited from class swim.security.OpenIdToken
accessTokenHash, authenticationContextClass, authenticationMethods, authorizedParty, authTime, nonce
-
-
-
-
Constructor Detail
-
GoogleIdToken
public GoogleIdToken(Value value)
-
GoogleIdToken
public GoogleIdToken()
-
-
Method Detail
-
issuer
public GoogleIdToken issuer(String issuer)
- Overrides:
issuer
in classOpenIdToken
-
subject
public GoogleIdToken subject(String subject)
- Overrides:
subject
in classOpenIdToken
-
audience
public GoogleIdToken audience(String audience)
- Overrides:
audience
in classOpenIdToken
-
audiences
public GoogleIdToken audiences(String... audiences)
- Overrides:
audiences
in classOpenIdToken
-
expiration
public GoogleIdToken expiration(long expiration)
- Overrides:
expiration
in classOpenIdToken
-
notBefore
public GoogleIdToken notBefore(long notBefore)
- Overrides:
notBefore
in classOpenIdToken
-
issuedAt
public GoogleIdToken issuedAt(long issuedAt)
- Overrides:
issuedAt
in classOpenIdToken
-
jwtId
public GoogleIdToken jwtId(String jwtId)
- Overrides:
jwtId
in classOpenIdToken
-
authTime
public GoogleIdToken authTime(long authTime)
- Overrides:
authTime
in classOpenIdToken
-
nonce
public GoogleIdToken nonce(String nonce)
- Overrides:
nonce
in classOpenIdToken
-
accessTokenHash
public GoogleIdToken accessTokenHash(Data accessTokenHash)
- Overrides:
accessTokenHash
in classOpenIdToken
-
authenticationContextClass
public GoogleIdToken authenticationContextClass(String authenticationContextClass)
- Overrides:
authenticationContextClass
in classOpenIdToken
-
authenticationMethods
public GoogleIdToken authenticationMethods(String... authenticationMethods)
- Overrides:
authenticationMethods
in classOpenIdToken
-
authorizedParty
public GoogleIdToken authorizedParty(String authorizedParty)
- Overrides:
authorizedParty
in classOpenIdToken
-
hostedDomain
public String hostedDomain()
-
hostedDomain
public GoogleIdToken hostedDomain(String hostedDomain)
-
email
public String email()
-
email
public GoogleIdToken email(String email)
-
emailVerified
public boolean emailVerified()
-
emailVerified
public GoogleIdToken emailVerified(boolean emailVerified)
-
name
public String name()
-
name
public GoogleIdToken name(String name)
-
picture
public String picture()
-
picture
public GoogleIdToken picture(String picture)
-
givenName
public String givenName()
-
givenName
public GoogleIdToken givenName(String givenName)
-
familyName
public String familyName()
-
familyName
public GoogleIdToken familyName(String familyName)
-
locale
public String locale()
-
locale
public GoogleIdToken locale(String locale)
-
copy
protected GoogleIdToken copy(Value value)
- Overrides:
copy
in classOpenIdToken
-
from
public static GoogleIdToken from(Value value)
-
parse
public static GoogleIdToken parse(String json)
-
verify
public static GoogleIdToken verify(JsonWebSignature jws, Iterable<PublicKeyDef> publicKeyDefs)
-
verify
public static GoogleIdToken verify(String compactJws, Iterable<PublicKeyDef> publicKeyDefs)
-
-