MCPcopy Create free account
hub / github.com/authlib/authlib / __init__

Method __init__

authlib/integrations/flask_client/__init__.py:16–22  ·  view source on GitHub ↗
(self, app=None, cache=None, fetch_token=None, update_token=None)

Source from the content-addressed store, hash-verified

14 framework_integration_cls = FlaskIntegration
15
16 def __init__(self, app=None, cache=None, fetch_token=None, update_token=None):
17 super().__init__(
18 cache=cache, fetch_token=fetch_token, update_token=update_token
19 )
20 self.app = app
21 if app:
22 self.init_app(app)
23
24 def init_app(self, app, cache=None, fetch_token=None, update_token=None):
25 """Initialize lazy for Flask app. This is usually used for Flask application

Callers

nothing calls this directly

Calls 1

init_appMethod · 0.95

Tested by

no test coverage detected