diff --git a/lib/msal-core/src/UserAgentApplication.ts b/lib/msal-core/src/UserAgentApplication.ts index ae47d602ab..c8914af68c 100644 --- a/lib/msal-core/src/UserAgentApplication.ts +++ b/lib/msal-core/src/UserAgentApplication.ts @@ -277,6 +277,14 @@ export class UserAgentApplication { } } + /** + * Public API to verify if the URL contains the hash with known properties + * @param hash + */ + public urlContainsHash(hash: string) { + return UrlUtils.urlContainsHash(hash); + } + private authResponseHandler(interactionType: InteractionType, response: AuthResponse, resolve?: any) : void { if (interactionType === Constants.interactionTypeRedirect) { if (this.errorReceivedCallback) {