Microsoft.AspNet.Identity.Owin
OwinMiddleware that initializes an object for use in the OwinContext via the Get/Set generic extensions method
Constructor
The next middleware in the OWIN pipeline to invoke
Configuration options for the middleware
Create an object using the Options.Provider, storing it in the OwinContext and then disposes the object when finished
Configuration options
Configuration options for a IdentityFactoryMiddleware
Used to configure the data protection provider
Provider used to Create and Dispose objects
Interface used to create objects per request
Called once per request to create an object
Called at the end of the request to dispose the object created
Used to configure how the IdentityFactoryMiddleware will create an instance of the specified type for each OwinContext
Constructor
Calls the OnCreate Delegate
Calls the OnDispose delegate
A delegate assigned to this property will be invoked when the related method is called
A delegate assigned to this property will be invoked when the related method is called
Token provider that uses an IDataProtector to generate encrypted tokens based off of the security stamp
Token provider that uses an IDataProtector to generate encrypted tokens based off of the security stamp
Constructor
Generate a protected string for a user
Return false if the token is not valid
Returns true if the provider can be used to generate tokens for this user
This provider no-ops by default when asked to notify a user
IDataProtector for the token
Lifespan after which the token is considered expired
Constructor
Extensions off of IAppBuilder to make it easier to configure the SignInCookies
Registers a callback that will be invoked to create an instance of type T that will be stored in the OwinContext
which can fetched via context.Get
The passed to the configuration method
Invoked to create an instance of T
The updated
Registers a callback that will be invoked to create an instance of type T that will be stored in the OwinContext
which can fetched via context.Get
Configure the app to use owin middleware based cookie authentication for external identities
Configure the app to use owin middleware based cookie authentication for external identities
Configures a cookie intended to be used to store the partial credentials for two factor authentication
Configures a cookie intended to be used to store whether two factor authentication has been done already
Configure the app to use owin middleware based oauth bearer tokens
Extensions methods on IAuthenticationManager that add methods for using the default Application and External
authentication type constants
Return the authentication types which are considered external because they have captions
Return the identity associated with the default external authentication type
Extracts login info out of an external identity
Extracts login info out of an external identity
Extracts login info out of an external identity
key that will be used to find the userId to verify
the value expected to be found using the xsrfKey in the AuthenticationResult.Properties
dictionary
Extracts login info out of an external identity
key that will be used to find the userId to verify
the value expected to be found using the xsrfKey in the AuthenticationResult.Properties
dictionary
Returns true if there is a TwoFactorRememberBrowser cookie for a user
Creates a TwoFactorRememberBrowser cookie for a user
Extension methods for OwinContext/>
Stores an object in the OwinContext using a key based on the AssemblyQualified type name
Retrieves an object from the OwinContext using a key based on the AssemblyQualified type name
Get the user manager from the context
Used to return information needed to associate an external login
Associated login data
Suggested user name for a user
Email claim from the external identity
The external identity
Static helper class used to configure a CookieAuthenticationProvider to validate a cookie against a user's security
stamp
Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security
stamp after validateInterval
Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new
ClaimsIdentity
Can be used as the ValidateIdentity method for a CookieAuthenticationProvider which will check a user's security
stamp after validateInterval
Rejects the identity if the stamp changes, and otherwise will call regenerateIdentity to sign in a new
ClaimsIdentity