Interface: Redirector

olympe.auth. Redirector

Redirects the user to another page

Members


<static> METHOD :string

Type:
  • string
Properties:
Name Type Default Description
GET string GET
POST string POST

Methods


<abstract> getCurrentUrl()

Gets the current URL

Returns:
Type
string

redirect(url [, parameters] [, method])

Redirects the user to the specified url, optionaly sending some parameters

Parameters:
Name Type Argument Default Description
url string

Target URL

parameters Object.<string> <optional>
<nullable>
null

Parameters to send

method olympe.auth.Redirector.METHOD <optional>
olympe.auth.Redirector.METHOD.POST

HTTP method


samlRedirect(url, samlRequest, samlId [, method])

Specialised redirection for SAML authentication

Parameters:
Name Type Argument Default Description
url string

Target URL

samlRequest string

SAML request

samlId string

SAML session identifier

method olympe.auth.Redirector.METHOD <optional>
olympe.auth.Redirector.METHOD.POST

HTTP method