def get_auth_pipeline(self):
     return [
         OAuth2Login(AUTHORIZE_URL, client_id=CLIENT_ID, scope=SCOPE),
         OAuth2Callback(
             access_token_url=ACCESS_TOKEN_URL,
             client_id=CLIENT_ID, client_secret=CLIENT_SECRET,
         ),
         FetchUser()
     ]
 def get_auth_pipeline(self):
     return [
         NeptulonOAuth2Login(),
         OAuth2Callback(
             access_token_url=ACCESS_TOKEN_URL,
             client_id=self.client_id,
             client_secret=self.client_secret,
         ),
         FetchUser(),
     ]
 def get_auth_pipeline(self):
     return [
         GoogleOAuth2Login(domain=self.domain),
         OAuth2Callback(
             access_token_url=ACCESS_TOKEN_URL,
             client_id=self.client_id,
             client_secret=self.client_secret,
         ),
         FetchUser(domain=self.domain),
     ]
Exemple #4
0
 def get_auth_pipeline(self):
     return [
         OAuth2Login(authorize_url=self.authorize_url, client_id=self.client_id, scope=SCOPE),
         OAuth2Callback(
             access_token_url=self.access_token_url,
             client_id=self.client_id,
             client_secret=self.client_secret,
         ),
         FetchUser(org=self.org),
         ConfirmEmail(),
     ]
 def get_auth_pipeline(self):
     return [
         GoogleOAuth2Login(domains=self.domains,
                           client_id=self.get_client_id()),
         OAuth2Callback(
             access_token_url=ACCESS_TOKEN_URL,
             client_id=self.get_client_id(),
             client_secret=self.get_client_secret(),
         ),
         FetchUser(domains=self.domains, version=self.version),
     ]
Exemple #6
0
 def get_auth_pipeline(self):
     return [
         OAuth2Login(client_id=self.get_client_id(),
                     authorize_url=self.authorize_url,
                     scope=self.scope),
         OAuth2Callback(
             access_token_url=self.access_token_url,
             client_id=self.get_client_id(),
             client_secret=self.get_client_secret(),
         ),
         FetchUser(version=self.version)
     ]
Exemple #7
0
 def get_auth_pipeline(self):
     return [
         OIDCLogin(domains=self.domains),
         OAuth2Callback(
             access_token_url=TOKEN_ENDPOINT,
             client_id=self.client_id,
             client_secret=self.client_secret,
         ),
         FetchUser(
             domains=self.domains,
             version=self.version,
         ),
     ]
 def get_auth_pipeline(self):
     return [
         AdfsOAuth2Login(adfs=self.adfs),
         OAuth2Callback(
             access_token_url=ACCESS_TOKEN_URL,
             client_id=self.client_id,
             client_secret=self.client_secret,
         ),
         FetchUser(
             adfs=self.adfs,
             version=self.version,
         ),
     ]
Exemple #9
0
 def get_auth_pipeline(self):
     return [
         OAuth2Login(
             authorize_url=self.authorize_url,
             client_id=self.client_id,
             scope=self.scope,
         ),
         OAuth2Callback(
             access_token_url=self.access_token_url,
             client_id=self.client_id,
             client_secret=self.client_secret,
         ),
         FetchUser(
             client_id=self.client_id,
             client_secret=self.client_secret,
         ),
         ValidatePermissions(),
     ]