CacheKey Class
- java.
lang. Object - com.
microsoft. identity. common. adal. internal. cache. CacheKey - com.
microsoft. aad. adal. CacheKey
- com.
- com.
public class CacheKey
CacheKey will be the object for key.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
createCacheKey(@NonNull final TokenCacheItem item)
Create cachekey from TokenCacheItem. It will use getUserId() as the user for cachekey if present. |
Method Details
createCacheKey
public static String createCacheKey(@NonNull final TokenCacheItem item)
Create cachekey from TokenCacheItem. It will use getUserId() as the user for cachekey if present.
Parameters:
item
-
TokenCacheItem that is used to create the cache key.
Returns:
String value of the CacheKey to save token.
Throws:
AuthenticationException
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java