### YamlMime:JavaType
inheritances:
-
-
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:
- name: type
type:
- name: context
type:
returns:
type:
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:
- name: type
type:
- name: context
type:
returns:
type:
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:
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.
metadata: {}