Type Alias AuthorizationRequirementsError
AuthorizationRequirementsError: {
authorization_parameters: {
prompt?: string;
required_scopes?: string[];
session_message?: string;
session_required_identities?: string[];
session_required_mfa?: boolean;
session_required_policies?: string[];
session_required_single_domain?: string[];
};
[key: string]: unknown;
}
Type declaration
[key: string]: unknown
authorization_parameters: {
prompt?: string;
required_scopes?: string[];
session_message?: string;
session_required_identities?: string[];
session_required_mfa?: boolean;
session_required_policies?: string[];
session_required_single_domain?: string[];
}
Optional
prompt?: string
Optional
required_scopes?: string[]
Optional
session_message?: string
Optional
session_required_identities?: string[]
Optional
session_required_mfa?: boolean
Optional
session_required_policies?: string[]
Optional
session_required_single_domain?: string[]
An error that includes an
authorization_parameters
property, a.k.a "G.A.R.E".A well-known error shape is provided by services when additional authorization requirements must be met by the session. This object can be converted to parameters accepted by Globus Auth using
sdk.errors.toAuthorizationQueryParams()
.