PurgeCredentials() public method

Purges all credentials from the store.
public PurgeCredentials ( ) : void
return void
Esempio n. 1
0
 /// <summary>
 /// Attempts to enumerate and delete any and all Azure Directory Authentication
 /// Refresh tokens caches by GCM asynchronously.
 /// </summary>
 /// <returns>A <see cref="Task"/> for the async action.</returns>
 private static Task SecurityPurgeAdaTokens(SecretStore adaStore)
 {
     // this can and should be done asynchronously to minimize user impact
     return(Task.Run(() =>
     {
         adaStore.PurgeCredentials();
     }));
 }
 /// <summary>
 /// Attempts to enumerate and delete any and all Azure Directory Authentication
 /// Refresh tokens caches by GCM asynchronously.
 /// </summary>
 /// <returns>A <see cref="Task"/> for the async action.</returns>
 private static Task SecurityPurgeAdaTokens(SecretStore adaStore)
 {
     // this can and should be done asynchronously to minimize user impact
     return Task.Run(() =>
     {
         adaStore.PurgeCredentials();
     });
 }