public static AccessTokenInfo GetAccessTokenInfo(string token) { AccessTokenInfo tokenInfo = null; var dict = AccessTokenManagerCache.GetAccessTokenDictionary(); if (dict != null && dict.ContainsKey(token)) { tokenInfo = dict[token]; } return(tokenInfo); }
public static void ClearCache() { AccessTokenManagerCache.Clear(); }