Microsoft.Owin.Security.Twitter
Twitter access token
Twitter request token
Gets or sets the Twitter token
Gets or sets the Twitter token secret
Gets or sets a property bag for common authentication properties
Gets or sets the Twitter User ID
Gets or sets the Twitter screen name
Serializes and deserializes Twitter request and access tokens so that they can be used by other application components.
Serialize a request token
The token to serialize
A byte array containing the serialized token
Deserializes a request token
A byte array containing the serialized token
The Twitter request token
Writes a Twitter request token as a series of bytes. Used by the method.
The writer to use in writing the token
The token to write
Reads a Twitter request token from a series of bytes. Used by the method.
The reader to use in reading the token bytes
The token
Provides access to a request token serializer
Gets or sets a statically-avaliable serializer object. The value for this property will be by default.
Specifies callback methods which the invokes to enable developer control over the authentication process. />
Invoked whenever Twitter succesfully authenticates a user
Contains information about the login session as well as the user .
A representing the completed operation.
Invoked prior to the being saved in a local cookie and the browser being redirected to the originally requested URL.
A representing the completed operation.
Called when a Challenge causes a redirect to authorize endpoint in the Twitter middleware
Contains redirect URI and of the challenge
Context passed when a Challenge causes a redirect to authorize endpoint in the Twitter middleware
Creates a new context object.
The OWIN request context
The Facebook middleware options
The authenticaiton properties of the challenge
The initial redirect URI
Gets the URI used for the redirect operation.
Gets the authenticaiton properties of the challenge
Contains information about the login session as well as the user .
Initializes a
The OWIN environment
Twitter user ID
Twitter screen name
Twitter access token
Twitter access token secret
Gets the Twitter user ID
Gets the Twitter screen name
Gets the Twitter access token
Gets the Twitter access token secret
Gets the representing the user
Gets or sets a property bag for common authentication properties
Default implementation.
Initializes a
Invoked whenever Twitter succesfully authenticates a user
Contains information about the login session as well as the user .
A representing the completed operation.
Invoked prior to the being saved in a local cookie and the browser being redirected to the originally requested URL.
A representing the completed operation.
Called when a Challenge causes a redirect to authorize endpoint in the Twitter middleware
Contains redirect URI and of the challenge
Gets or sets the function that is invoked when the Authenticated method is invoked.
Gets or sets the function that is invoked when the ReturnEndpoint method is invoked.
Gets or sets the delegate that is invoked when the ApplyRedirect method is invoked.
Provides context information to middleware providers.
Initializes a new .
OWIN environment
The authentication ticket
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to The '{0}' option must be provided..
Looks up a localized string similar to An ICertificateValidator cannot be specified at the same time as an HttpMessageHandler unless it is a WebRequestHandler..
Extension methods for using
Authenticate users using Twitter
The passed to the configuration method
Middleware configuration options
The updated
Authenticate users using Twitter
The passed to the configuration method
The Twitter-issued consumer key
The Twitter-issued consumer secret
The updated
OWIN middleware for authenticating users using Twitter
Initializes a
The next middleware in the OWIN pipeline to invoke
The OWIN application
Configuration options for the middleware
Provides the object for processing authentication-related requests.
An configured with the supplied to the constructor.
Options for the Twitter authentication middleware.
Initializes a new instance of the class.
Gets or sets the consumer key used to communicate with Twitter.
The consumer key used to communicate with Twitter.
Gets or sets the consumer secret used to sign requests to Twitter.
The consumer secret used to sign requests to Twitter.
Gets or sets timeout value in milliseconds for back channel communications with Twitter.
The back channel timeout.
Gets or sets the a pinned certificate validator to use to validate the endpoints used
in back channel communications belong to Twitter.
The pinned certificate validator.
If this property is null then the default certificate checks are performed,
validating the subject name and if the signing chain is a trusted party.
The HttpMessageHandler used to communicate with Twitter.
This cannot be set at the same time as BackchannelCertificateValidator unless the value
can be downcast to a WebRequestHandler.
Get or sets the text that the user can display on a sign in user interface.
The request path within the application's base path where the user-agent will be returned.
The middleware will process this request when it arrives.
Default value is "/signin-twitter".
Gets or sets the name of another authentication middleware which will be responsible for actually issuing a user .
Gets or sets the type used to secure data handled by the middleware.
Gets or sets the used to handle authentication events.