BeforeRedirectEventArgs class
Arguments for before redirecting for a full page authentication
- Extends
Constructors
(constructor)(redirect |
Constructs a new instance of the |
Properties
cancel | Call this method if the redirect should be cancelled because it is being handled by code in the cancelling class. |
configuration | The id of the instance generating the event. |
redirect |
The url of the page to redirect to if automatic redirect is cancelled |
Constructor Details
(constructor)(redirectUrl, cancel, configuration)
Constructs a new instance of the BeforeRedirectEventArgs
class
constructor(redirectUrl: string, cancel: () => void, configuration?: IAadTokenProviderConfiguration | undefined);
Parameters
- redirectUrl
-
string
- cancel
-
() => void
- configuration
-
IAadTokenProviderConfiguration | undefined
Property Details
cancel
Call this method if the redirect should be cancelled because it is being handled by code in the cancelling class.
cancel: () => void;
Property Value
() => void
configuration
The id of the instance generating the event.
configuration?: IAadTokenProviderConfiguration;
Property Value
redirectUrl
The url of the page to redirect to if automatic redirect is cancelled
redirectUrl: string;
Property Value
string