PurgeCredentials() 공개 메소드

Purges all credentials from the store.
public PurgeCredentials ( ) : void
리턴 void
예제 #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();
     });
 }