django_linkedin_middleware/middleware.py
def is_authorized_page(url_name):
        """
        Validate if the request page need an authentication

        Check if the page match the correct path to force a ask for a linkedin authentication
        The pattern '*' can be use to force every request to redirect to linkedin for an authentication.
        This behavior can be disable for specific pages by adding the pages to
        the global variable PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED in the settings config file.
        Return ``True`` for a authorized page, ``False`` otherwise.
        """
        return url_name not in settings.PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED and (any(
            pattern == '*' for pattern in settings.PAGES_WITH_LINKEDIN_AUTH_REQUIRED) or
            url_name in settings.PAGES_WITH_LINKEDIN_AUTH_REQUIRED)

        Validate if the request page need an authentication

        Check if the page match the correct path to force a ask for a linkedin authentication
        The pattern '*' can be use to force every request to redirect to linkedin for an authentication.
        This behavior can be disable for specific pages by adding the pages to
        the global variable PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED in the settings config file.
        Return ``True`` for a authorized page, ``False`` otherwise.
        
Validate if the request page need an authentication
Check if the page match the correct path to force a ask for a linkedin authentication
The pattern '*' can be use to force every request to redirect to linkedin for an authentication.
This behavior can be disable for specific pages by adding the pages to
the global variable PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED in the settings config file.
Validate if the request page need an authentication Check if the page match the correct path to force a ask for a linkedin authentication The pattern ' * ' can be use to force every request to redirect to linkedin for an authentication . This behavior can be disable for specific pages by adding the pages to the global variable PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED in the settings config file .
def is_authorized_page(url_name):
        return url_name not in settings.PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED and (any(
            pattern == '*' for pattern in settings.PAGES_WITH_LINKEDIN_AUTH_REQUIRED) or
            url_name in settings.PAGES_WITH_LINKEDIN_AUTH_REQUIRED)
def is_authorized_page ( url_name ) : return url_name not in settings . PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED and ( any ( pattern == '*' for pattern in settings . PAGES_WITH_LINKEDIN_AUTH_REQUIRED ) or url_name in settings . PAGES_WITH_LINKEDIN_AUTH_REQUIRED )
Validate if the request page need an authentication
Check if the page match the correct path to force a ask for a linkedin authentication
The pattern '*' can be use to force every request to redirect to linkedin for an authentication.
Validate if the request page need an authentication Check if the page match the correct path to force a ask for a linkedin authentication The pattern ' * ' can be use to force every request to redirect to linkedin for an authentication .
"""
        Validate if the request page need an authentication

        Check if the page match the correct path to force a ask for a linkedin authentication
        The pattern '*' can be use to force every request to redirect to linkedin for an authentication.
        This behavior can be disable for specific pages by adding the pages to
        the global variable PAGES_WITHOUT_LINKEDIN_AUTH_REQUIRED in the settings config file.
        Return ``True`` for a authorized page, ``False`` otherwise.
        """
url_name