Share via


TwitterAuthenticationProvider Class

Default ITwitterAuthenticationProvider implementation.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Twitter.TwitterAuthenticationProvider

Namespace:  Microsoft.Owin.Security.Twitter
Assembly:  Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)

Syntax

'Declaration
Public Class TwitterAuthenticationProvider _
    Implements ITwitterAuthenticationProvider
'Usage
Dim instance As TwitterAuthenticationProvider
public class TwitterAuthenticationProvider : ITwitterAuthenticationProvider
public ref class TwitterAuthenticationProvider : ITwitterAuthenticationProvider
type TwitterAuthenticationProvider =  
    class 
        interface ITwitterAuthenticationProvider 
    end
public class TwitterAuthenticationProvider implements ITwitterAuthenticationProvider

The TwitterAuthenticationProvider type exposes the following members.

Constructors

  Name Description
Public method TwitterAuthenticationProvider Initializes a TwitterAuthenticationProvider

Top

Properties

  Name Description
Public property OnAuthenticated Gets or sets the function that is invoked when the Authenticated method is invoked.
Public property OnReturnEndpoint Gets or sets the function that is invoked when the ReturnEndpoint method is invoked.

Top

Methods

  Name Description
Public method Authenticated Invoked whenever Twitter succesfully authenticates a user
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReturnEndpoint Invoked prior to the ClaimsIdentity being saved in a local cookie and the browser being redirected to the originally requested URL.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Owin.Security.Twitter Namespace