Exemple #1
0
    def _tryToGetAccessKeyFromAPIKey(self):
        (url, requestToken) = self._smugmugOauthRequestToken()
        self._userAuthorizeAtSmugmug(url)
        access_token = self._smugmugOauthGetAccessToken(requestToken)
        FileUtil.writeDictToYaml(access_token, self.accessKeyDir)

        return access_token