Microsoft.Owin.Security.MicrosoftAccount
Extension methods for using
Authenticate users using Microsoft Account
The passed to the configuration method
Middleware configuration options
The updated
Authenticate users using Microsoft Account
The passed to the configuration method
The application client ID assigned by the Microsoft authentication service
The application client secret assigned by the Microsoft authentication service
OWIN middleware for authenticating users using the Microsoft Account service
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.
Configuration options for
Initializes a new .
Gets or sets the a pinned certificate validator to use to validate the endpoints used
in back channel communications belong to Microsoft Account.
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.
Get or sets the text that the user can display on a sign in user interface.
The default value is 'Microsoft'
The application client ID assigned by the Microsoft authentication service.
The application client secret assigned by the Microsoft authentication service.
Gets or sets timeout value in milliseconds for back channel communications with Microsoft.
The back channel timeout.
The HttpMessageHandler used to communicate with Microsoft.
This cannot be set at the same time as BackchannelCertificateValidator unless the value
can be downcast to a WebRequestHandler.
A list of permissions to request.
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-microsoft".
Gets or sets the name of another authentication middleware which will be responsible for actually issuing a user .
Gets or sets the used to handle authentication events.
Gets or sets the type used to secure data handled by the middleware.
Specifies callback methods which the invokes to enable developer control over the authentication process. />
Invoked whenever Microsoft 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 Microsoft middleware
Contains redirect URI and of the challenge
Contains information about the login session as well as the user .
Initializes a
The OWIN environment
The JSON-serialized user
The access token provided by the Microsoft authentication service
The refresh token provided by Microsoft authentication service
Seconds until expiration
Gets the JSON-serialized user
Gets the access token provided by the Microsoft authenication service
Gets the refresh token provided by Microsoft authentication service
Refresh token is only available when wl.offline_access is request.
Otherwise, it is null.
Gets the Microsoft access token expiration time
Gets the Microsoft Account user ID
Gets the user name
Gets the user first name
Gets the user last name
Gets the user email address
Gets the representing the user
Gets or sets a property bag for common authentication properties
Default implementation.
Initializes a new
Invoked whenever Microsoft 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.
Contains information about the login session as well as the user
A representing the completed operation.
Called when a Challenge causes a redirect to authorize endpoint in the Microsoft account 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
Context passed when a Challenge causes a redirect to authorize endpoint in the Microsoft account middleware
Creates a new context object.
The OWIN request context
The Microsoft account 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
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 user does not have an id..
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..