C# Class WorldSurveyKit.App_Start.Auth.FB

Inheritance: System.Web.Http.AuthorizeAttribute
Mostrar archivo Open project: ntheile/World-Survey-Kit

Public Methods

Method Description
FB ( ) : System
GetFBToken ( ) : string
GetFbId ( ) : string
GetUserId ( ) : int
HasFileAccess ( int fileId ) : bool
HasFileInstanceAccess ( NewFileInstance newfileinstance ) : bool
HasFileInstanceAccess ( int fileInstId ) : bool
HasQuestionAccess ( int questionId ) : bool
HasResponseAccess ( int responseId ) : bool
IsOrgAdmin ( ) : bool
IsOrgAdmin ( int org ) : bool
IsOrgAdmin ( string org ) : bool
IsOrgUser ( int org ) : bool
IsSystemAdmin ( ) : bool
OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Method Details

FB() public method

public FB ( ) : System
return System

GetFBToken() public static method

public static GetFBToken ( ) : string
return string

GetFbId() public static method

public static GetFbId ( ) : string
return string

GetUserId() public static method

public static GetUserId ( ) : int
return int

HasFileAccess() public static method

public static HasFileAccess ( int fileId ) : bool
fileId int
return bool

HasFileInstanceAccess() public static method

public static HasFileInstanceAccess ( NewFileInstance newfileinstance ) : bool
newfileinstance WorldSurveyKit.Models.NewFileInstance
return bool

HasFileInstanceAccess() public static method

public static HasFileInstanceAccess ( int fileInstId ) : bool
fileInstId int
return bool

HasQuestionAccess() public static method

public static HasQuestionAccess ( int questionId ) : bool
questionId int
return bool

HasResponseAccess() public static method

public static HasResponseAccess ( int responseId ) : bool
responseId int
return bool

IsOrgAdmin() public static method

public static IsOrgAdmin ( ) : bool
return bool

IsOrgAdmin() public static method

public static IsOrgAdmin ( int org ) : bool
org int
return bool

IsOrgAdmin() public static method

public static IsOrgAdmin ( string org ) : bool
org string
return bool

IsOrgUser() public static method

public static IsOrgUser ( int org ) : bool
org int
return bool

IsSystemAdmin() public static method

public static IsSystemAdmin ( ) : bool
return bool

OnAuthorization() public method

public OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
return void