FacebookAuthenticatedContext Class

 

Contains information about the login session as well as the user ClaimsIdentity.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Provider.BaseContext
    Microsoft.Owin.Security.Facebook.FacebookAuthenticatedContext

Syntax

public class FacebookAuthenticatedContext : BaseContext
public ref class FacebookAuthenticatedContext : BaseContext
type FacebookAuthenticatedContext = 
    class
        inherit BaseContext
    end
Public Class FacebookAuthenticatedContext
    Inherits BaseContext

Constructors

Name Description
System_CAPS_pubmethod FacebookAuthenticatedContext(IOwinContext, JObject, String, String)

Initializes a FacebookAuthenticatedContext

Properties

Name Description
System_CAPS_pubproperty AccessToken

Gets the Facebook access token

System_CAPS_pubproperty Email

Gets the Facebook email

System_CAPS_pubproperty ExpiresIn

Gets the Facebook access token expiration time

System_CAPS_pubproperty Id

Gets the Facebook user ID

System_CAPS_pubproperty Identity

Gets the ClaimsIdentity representing the user

System_CAPS_pubproperty Link

Gets or sets the link to FacebookAuthenticatedContext.

System_CAPS_pubproperty Name

Gets the user's name

System_CAPS_pubproperty OwinContext

(Inherited from BaseContext.)

System_CAPS_pubproperty Properties

Gets or sets a property bag for common authentication properties

System_CAPS_pubproperty Request

(Inherited from BaseContext.)

System_CAPS_pubproperty Response

(Inherited from BaseContext.)

System_CAPS_pubproperty User

Gets the JSON-serialized user

System_CAPS_pubproperty UserName

Methods

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

Return to top