コード例 #1
0
 def associate(self, params):
     '''
     This sets up a association (encryption key) bewtween the ID Provider and the consumer
     '''
     expires_in = ASSOC_EXPIRES_IN
     res = create_association(self.storage, expires_in, **params)
     response.status = 200
     response.content_type = "text/plain"
     return res
コード例 #2
0
ファイル: openid.py プロジェクト: MuhamadYULIANTO/LinOTP
 def associate(self, params):
     '''
     This sets up a association (encryption key) bewtween the ID Provider and the consumer
     '''
     expires_in = ASSOC_EXPIRES_IN
     res = create_association(self.storage, expires_in, **params)
     response.status = 200
     response.content_type = "text/plain"
     return res