@atproto/oauth-client-browser
Version:
ATPROTO OAuth client for the browser (relies on WebCrypto & Indexed DB)
11 lines • 407 B
JavaScript
/**
* Special error class destined to be thrown when the login process was
* performed in a popup and should be continued in the parent/initiating window.
*/
export class LoginContinuedInParentWindowError extends Error {
constructor() {
super('Login complete, please close the popup window.');
this.code = 'LOGIN_CONTINUED_IN_PARENT_WINDOW';
}
}
//# sourceMappingURL=errors.js.map