Freigeben über


MicrosoftAccountAuthenticationProvider Class

 

Default IMicrosoftAccountAuthenticationProvider implementation.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationProvider

Syntax

public class MicrosoftAccountAuthenticationProvider : IMicrosoftAccountAuthenticationProvider
public ref class MicrosoftAccountAuthenticationProvider : IMicrosoftAccountAuthenticationProvider
type MicrosoftAccountAuthenticationProvider = 
    class
        interface IMicrosoftAccountAuthenticationProvider
    end
Public Class MicrosoftAccountAuthenticationProvider
    Implements IMicrosoftAccountAuthenticationProvider

Constructors

Name Description
System_CAPS_pubmethod MicrosoftAccountAuthenticationProvider()

Initializes a new MicrosoftAccountAuthenticationProvider

Properties

Name Description
System_CAPS_pubproperty OnApplyRedirect

Gets or sets the delegate that is invoked when the ApplyRedirect method is invoked.

System_CAPS_pubproperty OnAuthenticated

Gets or sets the function that is invoked when the Authenticated method is invoked.

System_CAPS_pubproperty OnReturnEndpoint

Gets or sets the function that is invoked when the ReturnEndpoint method is invoked.

Methods

Name Description
System_CAPS_pubmethod ApplyRedirect(MicrosoftAccountApplyRedirectContext)

Called when a Challenge causes a redirect to authorize endpoint in the Microsoft account middleware

System_CAPS_pubmethod Authenticated(MicrosoftAccountAuthenticatedContext)

Invoked whenever Microsoft succesfully authenticates a user

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ReturnEndpoint(MicrosoftAccountReturnEndpointContext)

Invoked prior to the ClaimsIdentity being saved in a local cookie and the browser being redirected to the originally requested URL.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.Owin.Security.MicrosoftAccount Namespace

Return to top