|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.microsoft.aad.adal.CacheKey
public final class CacheKey
CacheKey will be the object for key.
| Method Summary | |
|---|---|
static String |
createCacheKey(com.microsoft.aad.adal.AuthenticationRequest item,
String cacheUserId)
|
static String |
createCacheKey(String authority,
String resource,
String clientId,
boolean isMultiResourceRefreshToken,
String userId)
|
static String |
createCacheKey(TokenCacheItem item)
|
static String |
createMultiResourceRefreshTokenKey(com.microsoft.aad.adal.AuthenticationRequest item,
String cacheUserId)
Store multi resource refresh tokens with different key. |
String |
getAuthority()
Gets Authority. |
String |
getClientId()
Gets ClientId. |
boolean |
getIsMultipleResourceRefreshToken()
Gets status for multi resource refresh token. |
String |
getResource()
Gets Resource. |
String |
getUserId()
Gets UserId. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String toString()
toString in class Object
public static String createCacheKey(String authority,
String resource,
String clientId,
boolean isMultiResourceRefreshToken,
String userId)
authority - URL of the authenticating authorityresource - resource identifierclientId - client identifierisMultiResourceRefreshToken - true/false for refresh token typeuserId - userid provided from UserInfo
public static String createCacheKey(TokenCacheItem item)
item - Token item in the cache
public static String createCacheKey(com.microsoft.aad.adal.AuthenticationRequest item,
String cacheUserId)
item - AuthenticationRequest itemcacheUserId - UserId in the cache
public static String createMultiResourceRefreshTokenKey(com.microsoft.aad.adal.AuthenticationRequest item,
String cacheUserId)
item - AuthenticationRequest itemcacheUserId - UserId in the cache
public String getAuthority()
public String getResource()
public String getClientId()
public String getUserId()
public boolean getIsMultipleResourceRefreshToken()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||