pylti1p3/oidc_login.py
def redirect(self, launch_url, js_redirect=False):
        # type: (str, bool) -> RED
        """
        Calculate the redirect location to return to based on an OIDC third party initiated login request.

        :param launch_url: URL to redirect back to after the OIDC login.
        This URL must match exactly a URL white listed in the platform.
        :param js_redirect: Redirect through JS
        :return: Returns a redirect object containing the fully formed OIDC login URL.
        """
        if self._cookies_check:
            if not self._is_new_window_request():
                html = self.get_cookies_allowed_js_check()
                return self.get_response(html)

        redirect_obj = self._prepare_redirect(launch_url)
        if js_redirect:
            return redirect_obj.do_js_redirect()
        return redirect_obj.do_redirect()

        Calculate the redirect location to return to based on an OIDC third party initiated login request.

        :param launch_url: URL to redirect back to after the OIDC login.
        This URL must match exactly a URL white listed in the platform.
        :param js_redirect: Redirect through JS
        :return: Returns a redirect object containing the fully formed OIDC login URL.
        
Calculate the redirect location to return to based on an OIDC third party initiated login request.
Calculate the redirect location to return to based on an OIDC third party initiated login request .
def redirect(self, launch_url, js_redirect=False):
        if self._cookies_check:
            if not self._is_new_window_request():
                html = self.get_cookies_allowed_js_check()
                return self.get_response(html)
        redirect_obj = self._prepare_redirect(launch_url)
        if js_redirect:
            return redirect_obj.do_js_redirect()
        return redirect_obj.do_redirect()
def redirect ( self , launch_url , js_redirect = False ) : if self . _cookies_check : if not self . _is_new_window_request ( ) : html = self . get_cookies_allowed_js_check ( ) return self . get_response ( html ) redirect_obj = self . _prepare_redirect ( launch_url ) if js_redirect : return redirect_obj . do_js_redirect ( ) return redirect_obj . do_redirect ( )
Calculate the redirect location to return to based on an OIDC third party initiated login request.
Calculate the redirect location to return to based on an OIDC third party initiated login request .
# type: (str, bool) -> RED """
        Calculate the redirect location to return to based on an OIDC third party initiated login request.

        :param launch_url: URL to redirect back to after the OIDC login.
        This URL must match exactly a URL white listed in the platform.
        :param js_redirect: Redirect through JS
        :return: Returns a redirect object containing the fully formed OIDC login URL.
        """
Returns a redirect object containing the fully formed OIDC login URL.
Returns a redirect object containing the fully formed OIDC login URL .
self
launch_url
URL to redirect back to after the OIDC login.
This URL must match exactly a URL white listed in the platform.
URL to redirect back to after the OIDC login . This URL must match exactly a URL white listed in the platform .
js_redirect
Redirect through JS
Redirect through JS