MicrosoftAccountAuthenticatedContext Class
Contains information about the login session as well as the user ClaimsIdentity.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Provider.BaseContext
Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticatedContext
Namespace: Microsoft.Owin.Security.MicrosoftAccount
Assembly: Microsoft.Owin.Security.MicrosoftAccount (in Microsoft.Owin.Security.MicrosoftAccount.dll)
Syntax
'Declaration
Public Class MicrosoftAccountAuthenticatedContext _
Inherits BaseContext
'Usage
Dim instance As MicrosoftAccountAuthenticatedContext
public class MicrosoftAccountAuthenticatedContext : BaseContext
public ref class MicrosoftAccountAuthenticatedContext : public BaseContext
type MicrosoftAccountAuthenticatedContext =
class
inherit BaseContext
end
public class MicrosoftAccountAuthenticatedContext extends BaseContext
The MicrosoftAccountAuthenticatedContext type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
MicrosoftAccountAuthenticatedContext | Initializes a MicrosoftAccountAuthenticatedContext |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AccessToken | Gets the access token provided by the Microsoft authentication service |
![]() |
Gets the user email address | |
![]() |
FirstName | Gets the user first name |
![]() |
Id | Gets the Microsoft Account user ID |
![]() |
Identity | Gets the ClaimsIdentity representing the user |
![]() |
LastName | Gets the user last name |
![]() |
Name | Gets the user name |
![]() |
OwinContext | (Inherited from BaseContext.) |
![]() |
Properties | Gets or sets a property bag for common authentication properties |
![]() |
Request | (Inherited from BaseContext.) |
![]() |
Response | (Inherited from BaseContext.) |
![]() |
User | Gets the JSON-serialized user |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
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.