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.Flags
AbstractMap.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.
|
String |
getCredentialId()
Identifies the client credential id used for authentication.
|
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 |
setCredentialId(String credentialId)
Identifies the client credential id used for authentication.
|
Auth |
setPresenter(String presenter)
The authorized presenter of the credential.
|
Auth |
setPrincipal(String principal)
The authenticated principal.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 String getCredentialId()
null
for nonepublic Auth setCredentialId(String credentialId)
credentialId
- credentialId 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.GenericJson
public Auth clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.