Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RedirectAuthHandler

An auth handler that's used to handle auth by redirecting user to a custom login page.

Hierarchy

  • RedirectAuthHandler

Implements

Index

Properties

Static Readonly DEFAULT_LOGIN_REDIRECT_URL

DEFAULT_LOGIN_REDIRECT_URL: string

Default path the user will be redirected to

Static Readonly DEFAULT_RETURN_URL_PARAM

DEFAULT_RETURN_URL_PARAM: string

Default name of param used to store return url information in session

Methods

handle

Static create

  • Create a handler

    Parameters

    • authProvider: AuthenticationProvider

    Returns RedirectAuthHandler

  • Create a handler

    Parameters

    • authProvider: AuthenticationProvider
    • loginRedirectURL: string

    Returns RedirectAuthHandler

  • Create a handler

    Parameters

    • authProvider: AuthenticationProvider
    • loginRedirectURL: string
    • returnURLParam: string

    Returns RedirectAuthHandler

Generated using TypeDoc