public final class Auth
extends com.google.api.client.json.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 Service Control API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Auth() |
| Modifier and Type | Method and Description |
|---|---|
Auth |
clone() |
List<String> |
getAccessLevels()
A list of access level resource names that allow resources to be accessed by authenticated
requester.
|
List<String> |
getAudiences()
The intended audience(s) for this authentication information.
|
Map<String,Object> |
getClaims()
Structured claims presented with the credential.
|
Oauth |
getOauth()
Attributes of the OAuth token associated with the request.
|
String |
getPresenter()
The authorized presenter of the credential.
|
String |
getPrincipal()
The authenticated principal.
|
Auth |
set(String fieldName,
Object value) |
Auth |
setAccessLevels(List<String> accessLevels)
A list of access level resource names that allow resources to be accessed by authenticated
requester.
|
Auth |
setAudiences(List<String> audiences)
The intended audience(s) for this authentication information.
|
Auth |
setClaims(Map<String,Object> claims)
Structured claims presented with the credential.
|
Auth |
setOauth(Oauth oauth)
Attributes of the OAuth token associated with the request.
|
Auth |
setPresenter(String presenter)
The authorized presenter of the credential.
|
Auth |
setPrincipal(String principal)
The authenticated principal.
|
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> getAccessLevels()
null for nonepublic Auth setAccessLevels(List<String> accessLevels)
accessLevels - accessLevels or null for nonepublic List<String> getAudiences()
null for nonepublic Auth setAudiences(List<String> audiences)
audiences - audiences or null for nonepublic Map<String,Object> getClaims()
null for nonepublic Auth setClaims(Map<String,Object> claims)
claims - claims or null for nonepublic Oauth getOauth()
null for nonepublic Auth setOauth(Oauth oauth)
oauth - oauth or null for nonepublic String getPresenter()
null for nonepublic Auth setPresenter(String presenter)
presenter - presenter or null for nonepublic String getPrincipal()
null for nonepublic Auth setPrincipal(String principal)
principal - principal or null for nonepublic Auth set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Auth clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.