示例#1
0
    def __init__(self):
        Auth.__init__(self)

        self._auth_provider = 'ptc'

        self._session = requests.session()
        self._session.verify = True
示例#2
0
文件: auth_ptc.py 项目: DrChai/pgh
 def __init__(self):
     Auth.__init__(self)
     
     self._auth_provider = 'ptc'
     
     self._session = requests.session()
     self._session.verify = True
示例#3
0
    def __init__(self, host='smtp.gmail.com', port=587):

        Auth.__init__(self, host, port)

        self.__subject = "Status Update by UpdateMe"

        self.__info = "Important Info"

        self.__rows = []

        self.__status_allowed = ['info', 'success', 'danger']

        self.rows_html_file = "row.html"

        self.body_html_file = "template.html"
示例#4
0
    def __init__(self):
        Auth.__init__(self)

        self._auth_provider = "google"
示例#5
0
    def __init__(self):
        Auth.__init__(self)

        self._auth_provider = 'google'