public final class Jwt extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Jwt() |
| Modifier and Type | Method and Description |
|---|---|
Jwt |
clone() |
List<String> |
getAudiences()
A JWT containing any of these audiences will be accepted.
|
String |
getIssuer()
Identifies the issuer that issued the JWT, which is usually a URL or an email address.
|
String |
getJwksPublicKeys()
The provider's public key set to validate the signature of the JWT.
|
List<JwtHeader> |
getJwtHeaders()
jwt_headers and jwt_params define where to extract the JWT from an HTTP request.
|
List<String> |
getJwtParams()
This field is set if JWT is sent in a query parameter.
|
Jwt |
set(String fieldName,
Object value) |
Jwt |
setAudiences(List<String> audiences)
A JWT containing any of these audiences will be accepted.
|
Jwt |
setIssuer(String issuer)
Identifies the issuer that issued the JWT, which is usually a URL or an email address.
|
Jwt |
setJwksPublicKeys(String jwksPublicKeys)
The provider's public key set to validate the signature of the JWT.
|
Jwt |
setJwtHeaders(List<JwtHeader> jwtHeaders)
jwt_headers and jwt_params define where to extract the JWT from an HTTP request.
|
Jwt |
setJwtParams(List<String> jwtParams)
This field is set if JWT is sent in a query parameter.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getAudiences()
null for nonepublic Jwt setAudiences(List<String> audiences)
audiences - audiences or null for nonepublic String getIssuer()
null for nonepublic Jwt setIssuer(String issuer)
issuer - issuer or null for nonepublic String getJwksPublicKeys()
null for nonepublic Jwt setJwksPublicKeys(String jwksPublicKeys)
jwksPublicKeys - jwksPublicKeys or null for nonepublic List<JwtHeader> getJwtHeaders()
null for nonepublic Jwt setJwtHeaders(List<JwtHeader> jwtHeaders)
jwtHeaders - jwtHeaders or null for nonepublic List<String> getJwtParams()
null for nonepublic Jwt setJwtParams(List<String> jwtParams)
jwtParams - jwtParams or null for nonepublic Jwt set(String fieldName, Object value)
set in class GenericJsonpublic Jwt clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.