/** * Internal constants used for the AadTokenProvider * @internal */ export default class AadConstants { /** * This string contains the resource used for the login reply URL. This resource * will wait until the id token has been retrieved. */ static readonly SPFX_SINGLE_SIGN_ON_REPLY_URL: string; /** * This GUID is the unique identifier for SharePoint Online Web Client Extensibility Application Principal. * @remarks * For more information about Application and Service Principals, see * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects} */ static readonly PRE_AUTHORIZED_APP_PRINCIPAL_ID: string; /** * This GUID is the unique identifier for SharePoint Online Web Client Extensibility Application Principal. * @remarks * For more information about Application and Service Principals, see * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-application-objects} */ static readonly ODC_AAD_APP_PRINCIPAL_ID: string; /** * This GUID is the unique identifier for Isolsated SPFx first party principal * @internal */ static readonly PRE_AUTHORIZED_ISOLATED_APP_PRINCIPAL_ID: string; /** * Set of error codes that cannot be resolved by user interation. * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes} */ static readonly UNRESOLVABLE_AAD_ERROR_CODES: Set; /** * Set of error codes that can be resolved by a full page redirect to Azure AD. * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes} */ static readonly RESOLVABLE_AAD_ERROR_CODES: Set; /** * Set of error codes that we mark as expected. * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes} */ static readonly EXPECTED_AAD_ERRORS: Set; /** * Set of error codes that we mark as expected. * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes} */ static readonly CONDITIONAL_ACCESS_POLICY_ERRORS: Set; /** * Set of error codes that we mark as expected. * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes} */ static readonly RESOLVABLE_ON_ENSURESTATE_CONDITIONAL_ACCESS_POLICY_ERRORS: Set; /** * Error code from AAD for login required. * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes} */ static readonly LOGIN_REQUIRED: string; /** * Error code from AAD for timeout */ static readonly TOKEN_RENEWAL_TIMEOUT: string; /** * Error code from MSALjs for timeout */ static readonly MONITOR_WINDOW_TIMEOUT: string; /** * Error code from AAD for network error */ static readonly ENDPOINTS_RESOLUTION_ERROR: string; /** * Error code from AAD for post request failed error */ static readonly POST_REQUEST_FAILED: string; /** * Error code from AAD for session does not exist error */ static readonly SESSION_DOES_NOT_EXIST_ERROR: string; /** * Set of error codes that can be resolved by a full page redirect to Azure AD. * {@link https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-handling-exceptions} */ static readonly RESOLVABLE_ERROR_CODES: Set; /** * This string contains the ID of the Office 365 SharepointOnline AAD Application * , which is the same across all tenants */ static readonly OFFICE_365_SHAREPOINT_ONLINE_ID: string; /** * This string contains the ID of the Microsoft Teams AAD Application * , which is the same across all tenants */ static readonly MICROSOFT_TEAMS_ID: string; /** * This string contains the ID of the Microsoft Teams Web AAD Application * , which is the same across all tenants */ static readonly MICROSOFT_TEAMS_WEB_ID: string; /** * This string contains the link to SPO third party app Identifier Uri */ static readonly SPO_THIRD_PARTY_APP_IDENTIFIER_URI: string; /** * This string contains the app id of the first party SP Framework AAD Helper */ static readonly SPO_FIRST_PARTY_APP_HELPER_ID: string; } //# sourceMappingURL=AadConstants.d.ts.map