public void DeleteAccessToken(MsalAccessTokenCacheKey cacheKey)
 {
     Delete(cacheKey.ToString(), _accessTokenSharedPreference.Edit());
 }
Esempio n. 2
0
 public void DeleteAccessToken(MsalAccessTokenCacheKey cacheKey)
 {
     _accessTokenContainer.Values.Remove(/*CoreCryptographyHelpers.CreateBase64UrlEncodedSha256Hash(cacheKey)*/ cacheKey.GetUWPFixedSizeKey());
 }
Esempio n. 3
0
 /// <inheritdoc />
 public void DeleteAccessToken(MsalAccessTokenCacheKey cacheKey)
 {
     _tokenCacheAccessor.DeleteAccessToken(cacheKey);
 }
Esempio n. 4
0
 /// <inheritdoc />
 public string GetAccessToken(MsalAccessTokenCacheKey accessTokenKey)
 {
     return(_tokenCacheAccessor.GetAccessToken(accessTokenKey));
 }
Esempio n. 5
0
 public MsalAccessTokenCacheItem GetAccessToken(MsalAccessTokenCacheKey accessTokenKey)
 {
     return(MsalAccessTokenCacheItem.FromJsonString(_accessTokenSharedPreference.GetString(accessTokenKey.ToString(), null)));
 }
 public void DeleteAccessToken(MsalAccessTokenCacheKey cacheKey)
 {
     AccessTokenCacheDictionary.Remove(cacheKey.ToString());
 }