Package | Description |
---|---|
com.google.api.client.googleapis.auth.oauth2 |
Google's additions to OAuth 2.0 authorization as specified in Using OAuth 2.0 to Access Google
APIs.
|
Modifier and Type | Method and Description |
---|---|
GoogleIdToken.Payload |
GoogleIdToken.Payload.clone() |
GoogleIdToken.Payload |
GoogleIdToken.getPayload() |
GoogleIdToken.Payload |
GoogleIdToken.Payload.set(String fieldName,
Object value) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setAccessTokenHash(String accessTokenHash) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setAudience(Object audience) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setAuthorizationTimeSeconds(Long authorizationTimeSeconds) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setAuthorizedParty(String authorizedParty) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setClassReference(String classReference) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setEmail(String email)
Sets the e-mail address of the user or
null if it was not requested. |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setEmailVerified(Boolean emailVerified)
Sets whether the users e-mail address has been verified by Google or not.
|
GoogleIdToken.Payload |
GoogleIdToken.Payload.setExpirationTimeSeconds(Long expirationTimeSeconds) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setHostedDomain(String hostedDomain)
Sets the hosted domain name if asserted user is a domain managed user or
null for
none. |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setIssuedAtTimeSeconds(Long issuedAtTimeSeconds) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setIssuee(String issuee)
Deprecated.
(scheduled to be removed in 1.18) Use
setAuthorizedParty(String)
instead. |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setIssuer(String issuer) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setJwtId(String jwtId) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setMethodsReferences(List<String> methodsReferences) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setNonce(String nonce) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setNotBeforeTimeSeconds(Long notBeforeTimeSeconds) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setSubject(String subject) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setType(String type) |
GoogleIdToken.Payload |
GoogleIdToken.Payload.setUserId(String userId)
Deprecated.
(scheduled to be removed in 1.18) Use
setSubject(String) instead. |
Constructor and Description |
---|
GoogleIdToken(JsonWebSignature.Header header,
GoogleIdToken.Payload payload,
byte[] signatureBytes,
byte[] signedContentBytes) |
Copyright © 2010–2022 Google. All rights reserved.