Python flask.sessions.SessionInterface() Examples

The following are 1 code examples of flask.sessions.SessionInterface(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module flask.sessions , or try the search function .
Example #1
Source File: flask.py    From keycloak-client with GNU General Public License v3.0 6 votes vote down vote up
def __init__(
        self,
        app: Flask,
        config: Config,
        session_interface: SessionInterface,
        callback_url: str = "http://localhost:5000/kc/callback",
        redirect_uri: str = "/",
        logout_uri: str = "/kc/logout",
    ) -> None:
        self.app = app
        self.config = config
        self.session_interface = session_interface
        self.callback_url = callback_url
        self.redirect_uri = redirect_uri
        self.logout_uri = logout_uri
        self.kc = Client(callback_url)
        self.proxy_app = ProxyApp(config)