Skip to content

Commit ec795d1

Browse files
- Update API docs
1 parent f7599da commit ec795d1

2 files changed

Lines changed: 1 addition & 96 deletions

File tree

lib/msal-browser/apiReview/msal-browser.api.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,12 @@ import { AuthenticationResult as AuthenticationResult_2 } from '@azure/msal-comm
1414
import { AuthenticationScheme } from '@azure/msal-common/browser';
1515
import { AuthError } from '@azure/msal-common/browser';
1616
import { AuthErrorCodes } from '@azure/msal-common/browser';
17-
import { AuthErrorMessages } from '@azure/msal-common/browser';
1817
import { AzureCloudInstance } from '@azure/msal-common/browser';
1918
import { AzureCloudOptions } from '@azure/msal-common/browser';
2019
import { ClientAuthError } from '@azure/msal-common/browser';
2120
import { ClientAuthErrorCodes } from '@azure/msal-common/browser';
22-
import { ClientAuthErrorMessages } from '@azure/msal-common/browser';
2321
import { ClientConfigurationError } from '@azure/msal-common/browser';
2422
import { ClientConfigurationErrorCodes } from '@azure/msal-common/browser';
25-
import { ClientConfigurationErrorMessages } from '@azure/msal-common/browser';
2623
import { CommonAuthorizationCodeRequest } from '@azure/msal-common/browser';
2724
import { CommonAuthorizationUrlRequest } from '@azure/msal-common/browser';
2825
import { CommonEndSessionRequest } from '@azure/msal-common/browser';
@@ -113,8 +110,6 @@ export { AuthError }
113110

114111
export { AuthErrorCodes }
115112

116-
export { AuthErrorMessages }
117-
118113
// Warning: (ae-missing-release-tag) "AuthorizationCodeRequest" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
119114
//
120115
// @public (undocumented)
@@ -431,14 +426,10 @@ export { ClientAuthError }
431426

432427
export { ClientAuthErrorCodes }
433428

434-
export { ClientAuthErrorMessages }
435-
436429
export { ClientConfigurationError }
437430

438431
export { ClientConfigurationErrorCodes }
439432

440-
export { ClientConfigurationErrorMessages }
441-
442433
// Warning: (ae-missing-release-tag) "Configuration" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
443434
//
444435
// @public

lib/msal-common/apiReview/msal-common.api.md

Lines changed: 1 addition & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -577,14 +577,6 @@ declare namespace AuthErrorCodes {
577577
}
578578
export { AuthErrorCodes }
579579

580-
// Warning: (ae-missing-release-tag) "AuthErrorMessages" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
581-
//
582-
// @public (undocumented)
583-
export const AuthErrorMessages: {
584-
unexpected_error: string;
585-
post_request_failed: string;
586-
};
587-
588580
// Warning: (ae-internal-missing-underscore) The name "AuthOptions" should be prefixed with an underscore because the declaration is marked as @internal
589581
//
590582
// @internal
@@ -1409,56 +1401,6 @@ declare namespace ClientAuthErrorCodes {
14091401
}
14101402
export { ClientAuthErrorCodes }
14111403

1412-
// Warning: (ae-missing-release-tag) "ClientAuthErrorMessages" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1413-
//
1414-
// @public
1415-
export const ClientAuthErrorMessages: {
1416-
client_info_decoding_error: string;
1417-
client_info_empty_error: string;
1418-
token_parsing_error: string;
1419-
null_or_empty_token: string;
1420-
endpoints_resolution_error: string;
1421-
network_error: string;
1422-
openid_config_error: string;
1423-
hash_not_deserialized: string;
1424-
invalid_state: string;
1425-
state_mismatch: string;
1426-
state_not_found: string;
1427-
nonce_mismatch: string;
1428-
auth_time_not_found: string;
1429-
max_age_transpired: string;
1430-
multiple_matching_tokens: string;
1431-
multiple_matching_accounts: string;
1432-
multiple_matching_appMetadata: string;
1433-
request_cannot_be_made: string;
1434-
cannot_remove_empty_scope: string;
1435-
cannot_append_scopeset: string;
1436-
empty_input_scopeset: string;
1437-
device_code_polling_cancelled: string;
1438-
device_code_expired: string;
1439-
device_code_unknown_error: string;
1440-
no_account_in_silent_request: string;
1441-
invalid_cache_record: string;
1442-
invalid_cache_environment: string;
1443-
no_account_found: string;
1444-
no_crypto_object: string;
1445-
unexpected_credential_type: string;
1446-
invalid_assertion: string;
1447-
invalid_client_credential: string;
1448-
token_refresh_required: string;
1449-
user_timeout_reached: string;
1450-
token_claims_cnf_required_for_signedjwt: string;
1451-
authorization_code_missing_from_server_response: string;
1452-
binding_key_not_removed: string;
1453-
end_session_endpoint_not_supported: string;
1454-
key_id_missing: string;
1455-
no_network_connectivity: string;
1456-
user_canceled: string;
1457-
missing_tenant_id_error: string;
1458-
method_not_implemented: string;
1459-
nested_app_auth_bridge_disabled: string;
1460-
};
1461-
14621404
// Warning: (ae-internal-missing-underscore) The name "ClientConfiguration" should be prefixed with an underscore because the declaration is marked as @internal
14631405
//
14641406
// @internal
@@ -1513,34 +1455,6 @@ declare namespace ClientConfigurationErrorCodes {
15131455
}
15141456
export { ClientConfigurationErrorCodes }
15151457

1516-
// Warning: (ae-missing-release-tag) "ClientConfigurationErrorMessages" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1517-
//
1518-
// @public (undocumented)
1519-
export const ClientConfigurationErrorMessages: {
1520-
redirect_uri_empty: string;
1521-
claims_request_parsing_error: string;
1522-
authority_uri_insecure: string;
1523-
url_parse_error: string;
1524-
empty_url_error: string;
1525-
empty_input_scopes_error: string;
1526-
invalid_prompt_value: string;
1527-
invalid_claims: string;
1528-
token_request_empty: string;
1529-
logout_request_empty: string;
1530-
invalid_code_challenge_method: string;
1531-
pkce_params_missing: string;
1532-
invalid_cloud_discovery_metadata: string;
1533-
invalid_authority_metadata: string;
1534-
untrusted_authority: string;
1535-
missing_ssh_jwk: string;
1536-
missing_ssh_kid: string;
1537-
missing_nonce_authentication_header: string;
1538-
invalid_authentication_header: string;
1539-
cannot_set_OIDCOptions: string;
1540-
cannot_allow_platform_broker: string;
1541-
authority_mismatch: string;
1542-
};
1543-
15441458
// Warning: (ae-missing-release-tag) "ClientInfo" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
15451459
//
15461460
// @public
@@ -1812,7 +1726,7 @@ function createIdTokenEntity(homeAccountId: string, environment: string, idToken
18121726
// Warning: (ae-missing-release-tag) "createInteractionRequiredAuthError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
18131727
//
18141728
// @public
1815-
export function createInteractionRequiredAuthError(errorCode: string): InteractionRequiredAuthError;
1729+
export function createInteractionRequiredAuthError(errorCode: string, errorMessage?: string): InteractionRequiredAuthError;
18161730

18171731
// Warning: (ae-missing-release-tag) "createNetworkError" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
18181732
//

0 commit comments

Comments
 (0)