C# Class WorldSurveyKit.App_Start.Auth.FB

Inheritance: System.Web.Http.AuthorizeAttribute
Afficher le fichier Open project: ntheile/World-Survey-Kit

Méthodes publiques

Méthode 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 méthode

public FB ( ) : System
Résultat System

GetFBToken() public static méthode

public static GetFBToken ( ) : string
Résultat string

GetFbId() public static méthode

public static GetFbId ( ) : string
Résultat string

GetUserId() public static méthode

public static GetUserId ( ) : int
Résultat int

HasFileAccess() public static méthode

public static HasFileAccess ( int fileId ) : bool
fileId int
Résultat bool

HasFileInstanceAccess() public static méthode

public static HasFileInstanceAccess ( NewFileInstance newfileinstance ) : bool
newfileinstance WorldSurveyKit.Models.NewFileInstance
Résultat bool

HasFileInstanceAccess() public static méthode

public static HasFileInstanceAccess ( int fileInstId ) : bool
fileInstId int
Résultat bool

HasQuestionAccess() public static méthode

public static HasQuestionAccess ( int questionId ) : bool
questionId int
Résultat bool

HasResponseAccess() public static méthode

public static HasResponseAccess ( int responseId ) : bool
responseId int
Résultat bool

IsOrgAdmin() public static méthode

public static IsOrgAdmin ( ) : bool
Résultat bool

IsOrgAdmin() public static méthode

public static IsOrgAdmin ( int org ) : bool
org int
Résultat bool

IsOrgAdmin() public static méthode

public static IsOrgAdmin ( string org ) : bool
org string
Résultat bool

IsOrgUser() public static méthode

public static IsOrgUser ( int org ) : bool
org int
Résultat bool

IsSystemAdmin() public static méthode

public static IsSystemAdmin ( ) : bool
Résultat bool

OnAuthorization() public méthode

public OnAuthorization ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
Résultat void