Share via


MicrosoftAccountAuthenticationOptions Class

Configuration options for MicrosoftAccountAuthenticationMiddleware

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.AuthenticationOptions
    Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions

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

Syntax

'Declaration
Public Class MicrosoftAccountAuthenticationOptions _
    Inherits AuthenticationOptions
'Usage
Dim instance As MicrosoftAccountAuthenticationOptions
public class MicrosoftAccountAuthenticationOptions : AuthenticationOptions
public ref class MicrosoftAccountAuthenticationOptions : public AuthenticationOptions
type MicrosoftAccountAuthenticationOptions =  
    class 
        inherit AuthenticationOptions 
    end
public class MicrosoftAccountAuthenticationOptions extends AuthenticationOptions

The MicrosoftAccountAuthenticationOptions type exposes the following members.

Constructors

  Name Description
Public method MicrosoftAccountAuthenticationOptions Initializes a new MicrosoftAccountAuthenticationOptions.

Top

Properties

  Name Description
Public property AuthenticationMode If Active the authentication middleware alter the request user coming in and alter 401 Unauthorized responses going out. If Passive the authentication middleware will only provide identity and alter responses when explicitly indicated by the AuthenticationType. (Inherited from AuthenticationOptions.)
Public property AuthenticationType The AuthenticationType in the options corresponds to the IIdentity AuthenticationType property. A different value may be assigned in order to use the same authentication middleware type more than once in a pipeline. (Inherited from AuthenticationOptions.)
Public property BackchannelCertificateValidator Gets or sets the pinned certificate validator to use to validate the endpoints used in back channel communications belong to Microsoft Account.
Public property BackchannelHttpHandler 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.
Public property BackchannelTimeout Gets or sets timeout value in milliseconds for back channel communications with Microsoft.
Public property CallbackPath 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".
Public property Caption Get or sets the text that the user can display on a sign in user interface.
Public property ClientId The application client ID assigned by the Microsoft authentication service.
Public property ClientSecret The application client secret assigned by the Microsoft authentication service.
Public property Description Additional information about the authentication type which is made available to the application. (Inherited from AuthenticationOptions.)
Public property Provider Gets or sets the IMicrosoftAccountAuthenticationProvider used to handle authentication events.
Public property Scope A list of permissions to request.
Public property SignInAsAuthenticationType Gets or sets the name of another authentication middleware which will be responsible for actually issuing a user ClaimsIdentity.
Public property StateDataFormat Gets or sets the type used to secure data handled by the middleware.

Top

Methods

  Name Description
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 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.MicrosoftAccount Namespace