1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

Wrap sso login with pre-validation check (#160)

* Wrap sso login with pre-validation check

* Add form promise for SSO preValidate

* Removed boolean variable, .catch()
This commit is contained in:
Chad Scharf
2020-09-08 10:36:22 -04:00
committed by GitHub
parent 0bff8bcd56
commit fa2b8e834b
3 changed files with 46 additions and 2 deletions

View File

@@ -306,4 +306,6 @@ export abstract class ApiService {
getActiveBearerToken: () => Promise<string>;
fetch: (request: Request) => Promise<Response>;
nativeFetch: (request: Request) => Promise<Response>;
preValidateSso: (identifier: string) => Promise<boolean>;
}