azure-docs-sdk-java/docs-ref-autogen/com.microsoft.aad.adal.Toke...

43 строки
3.1 KiB
YAML

### YamlMime:JavaType
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="com.google.gson.JsonDeserializer&lt;TokenCacheItem&gt;" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.aad.adal.TokenCacheItemSerializationAdapater.deserialize(JsonElement json, Type type, JsonDeserializationContext context)
name: deserialize(JsonElement json, Type type, JsonDeserializationContext context)
nameWithType: TokenCacheItemSerializationAdapater.deserialize(JsonElement json, Type type, JsonDeserializationContext context)
parameters:
- name: json
type: <xref href="JsonElement?alt=JsonElement&text=JsonElement" data-throw-if-not-resolved="False"/>
- name: type
type: <xref href="Type?alt=Type&text=Type" data-throw-if-not-resolved="False"/>
- name: context
type: <xref href="JsonDeserializationContext?alt=JsonDeserializationContext&text=JsonDeserializationContext" data-throw-if-not-resolved="False"/>
returns:
type: <xref href="com.microsoft.aad.adal.TokenCacheItem?alt=com.microsoft.aad.adal.TokenCacheItem&text=TokenCacheItem" data-throw-if-not-resolved="False"/>
syntax: public TokenCacheItem deserialize(JsonElement json, Type type, JsonDeserializationContext context)
uid: com.microsoft.aad.adal.TokenCacheItemSerializationAdapater.deserialize(JsonElement,Type,JsonDeserializationContext)
- fullName: com.microsoft.aad.adal.TokenCacheItemSerializationAdapater.serialize(TokenCacheItem tokenCacheItem, Type type, JsonSerializationContext context)
name: serialize(TokenCacheItem tokenCacheItem, Type type, JsonSerializationContext context)
nameWithType: TokenCacheItemSerializationAdapater.serialize(TokenCacheItem tokenCacheItem, Type type, JsonSerializationContext context)
parameters:
- name: tokenCacheItem
type: <xref href="com.microsoft.aad.adal.TokenCacheItem?alt=com.microsoft.aad.adal.TokenCacheItem&text=TokenCacheItem" data-throw-if-not-resolved="False"/>
- name: type
type: <xref href="Type?alt=Type&text=Type" data-throw-if-not-resolved="False"/>
- name: context
type: <xref href="JsonSerializationContext?alt=JsonSerializationContext&text=JsonSerializationContext" data-throw-if-not-resolved="False"/>
returns:
type: <xref href="JsonElement?alt=JsonElement&text=JsonElement" data-throw-if-not-resolved="False"/>
syntax: public JsonElement serialize(TokenCacheItem tokenCacheItem, Type type, JsonSerializationContext context)
uid: com.microsoft.aad.adal.TokenCacheItemSerializationAdapater.serialize(TokenCacheItem,Type,JsonSerializationContext)
nameWithType: TokenCacheItemSerializationAdapater
syntax: public class TokenCacheItemSerializationAdapater
type: class
uid: com.microsoft.aad.adal.TokenCacheItemSerializationAdapater
fullName: com.microsoft.aad.adal.TokenCacheItemSerializationAdapater
name: TokenCacheItemSerializationAdapater
package: com.microsoft.aad.adal
summary: <p>This TokenCacheItemAdapter class is a customized serializer for the family token cache item into GSON where we are trying to keep a lightweight form of tokenCacheItem by parsing the raw idToken, we can get all the claims in it, including userInfo, and tenantId. </p>
metadata: {}