Exemple #1
0
    def pre(self):
        OAuth2ResourceController.pre(self)
	if request.method != "OPTIONS":
            self.authenticate_with_token()
            self.set_up_user_context()
        self.run_sitewide_ratelimits()
Exemple #2
0
 def pre(self):
     OAuth2ResourceController.pre(self)
     self.authenticate_with_token()
     self.run_sitewide_ratelimits()
Exemple #3
0
 def pre(self):
     OAuth2ResourceController.pre(self)
     self.authenticate_with_token()
     self.set_up_user_context()
     self.run_sitewide_ratelimits()
Exemple #4
0
 def pre(self):
     OAuth2ResourceController.pre(self)
     if request.method != "OPTIONS":
         self.authenticate_with_token()
         self.set_up_user_context()
     self.run_sitewide_ratelimits()
Exemple #5
0
 def pre(self):
     OAuth2ResourceController.pre(self)
     self.check_for_bearer_token()
     self.run_sitewide_ratelimits()
Exemple #6
0
 def pre(self):
     OAuth2ResourceController.pre(self)
     self.check_for_bearer_token()