FacebookAuthorizeAttribute Class

Restricts the access to requests with valid Facebook signed request parameter and to users that have the required permissions. This attribute can be declared on a controller, an action or both.

System.Object
  System.Attribute
    Microsoft.AspNet.Facebook.FacebookAuthorizeAttribute

Namespace:  Microsoft.AspNet.Facebook
Assembly:  Microsoft.AspNet.Facebook (in Microsoft.AspNet.Facebook.dll)

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, Inherited = true, 
	AllowMultiple = false)]
public sealed class FacebookAuthorizeAttribute : Attribute

The FacebookAuthorizeAttribute type exposes the following members.

  NameDescription
Public methodFacebookAuthorizeAttribute()Initializes a new instance of the FacebookAuthorizeAttribute class without requiring permissions.
Public methodFacebookAuthorizeAttribute(String[])Initializes a new instance of the FacebookAuthorizeAttribute class requiring permissions.
Top

  NameDescription
Public propertyPermissionsGets the required permissions.
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: