Deletes a parameter from the query string of the current URL.
The name of the parameter to delete.
None
Retrieves the callback URL parameter from the URL query parameters.
The callback URL parameter value.
Returns the current URL of the page.
Optional
noProtocol: booleanIf true, the protocol (http/https) will be excluded from the URL.
The current URL of the page, with or without the protocol based on the 'noProtocol' parameter.
Retrieves and decodes the extra context parameter from the URL query parameters.
The decoded value of the extra context parameter, or null if not found or unable to decode.
Retrieves a parameter value from the URL query string by name.
The name of the parameter to retrieve.
Optional
replace: booleanWhether to replace '#' with '?' in the URL before parsing.
Optional
base64Decode: booleanWhether to decode the parameter value from base64.
The value of the parameter if found, null otherwise.
Asynchronously generates a redirect URL based on the provided parameters.
The domain for the redirect URL.
The path for the redirect URL.
Optional
optUsr: stringOptional user email.
Optional
optCBURL: stringOptional client callback URL.
Optional
optContext: anyOptional context information.
Optional
forceNoCallback: booleanFlag to force no client callback URL.
A promise that resolves to the generated redirect URL.
Retrieves the user email parameter from the URL query parameters.
The user email parameter value from the URL query parameters.
Check if a parameter with the given name exists and has a non-empty value.
The name of the parameter to check.
True if the parameter exists and has a non-empty value, false otherwise.
Asynchronously loads the federation state by normalizing the federation state query.
None
Redirects back to a specified callback URL, with an optional user ID and single sign-on inclusion. If includeSSO is true and userId is provided, the single sign-on information is appended to the callback URL.
The URL to redirect back to.
Optional
userId: stringThe user ID to include in the redirect URL.
Optional
includeSSO: booleanA flag indicating whether to include single sign-on information.
None
Redirects the request to the specified authentication domain and path with optional parameters.
The authentication domain to redirect to.
The authentication path to redirect to.
Optional
optUsr: stringOptional user email.
Optional
optCBURL: stringOptional client callback URL.
Optional
optContext: anyOptional extra context to encode and pass in the URL.
Optional
forceNoCallback: booleanForce no client callback URL.
None
Redirects the user to a new URL constructed from the given domain and parameters.
The domain to redirect to.
The parameters to include in the URL.
None
Sets a parameter with a given value in the URL query string.
The name of the parameter to set.
The value to set for the parameter.
None
Sets the URL of the current window to the specified URL if not running in a Node.js environment.
The URL to set as the new location.
None
Manages URLs and provides methods for handling URL parameters and redirection.