Type Alias AuthenticationErrorAction

Action to take when error occurs during authentication

type AuthenticationErrorAction = {
    preventDefault?: boolean;
    retry?: boolean;
}
Index

Properties

preventDefault?: boolean

Set to true to prevent the api call result promise from ever resolving. Typically used when redirecting the window to a login page to prevent transient errors from happening in the page while the browser is loading the login page.

retry?: boolean

If set to true the request will be retried and its AuthParams will be fetched again