Package version:

Interface AuthenticationRequiredErrorOptions

Optional parameters to the AuthenticationRequiredError

interface AuthenticationRequiredErrorOptions {
    cause?: unknown;
    getTokenOptions?: any;
    message?: string;
    scopes: {};
}

Properties

cause?: unknown

The underlying cause, if any, that caused the authentication to fail.

getTokenOptions?: any

The options passed to the getToken request.

message?: string

The message of the error.

scopes: {}

The list of scopes for which the token will have access.