Lean
Lean

Reputation: 21

Azure AppFabric Access Control Service Log Off

I'm using Live Id and Google as IPs, but I don't know how to make the Log off button work.

Upvotes: 2

Views: 1330

Answers (1)

Thomas Li
Thomas Li

Reputation: 3338

From http://acs.codeplex.com/SourceControl/changeset/view/60691#1067602:

WSFederationAuthenticationModule fam = FederatedAuthentication.WSFederationAuthenticationModule;

try
{
    FormsAuthentication.SignOut();
}
finally
{
    fam.SignOut(true); 
}

Upvotes: 2

Related Questions