AuthenticationBase<T>.ClearAuthenticationToken Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Clears any issued authentication token.

Namespace:  System.ServiceModel.DomainServices.Server.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Protected Overridable Sub ClearAuthenticationToken
'Usage

Me.ClearAuthenticationToken()
protected virtual void ClearAuthenticationToken()
protected:
virtual void ClearAuthenticationToken()
abstract ClearAuthenticationToken : unit -> unit 
override ClearAuthenticationToken : unit -> unit 
protected function ClearAuthenticationToken()

Remarks

This method is invoked from the Logout method. By default, the method will clear tokens by leveraging the cookie support in FormsAuthentication. The base implementation does not need to be invoked when this method is overridden.

See Also

Reference

AuthenticationBase<T> Class

System.ServiceModel.DomainServices.Server.ApplicationServices Namespace