mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
suth service support for complete sso login (#136)
This commit is contained in:
@@ -142,6 +142,13 @@ export class AuthService implements AuthServiceAbstraction {
|
||||
remember);
|
||||
}
|
||||
|
||||
async logInSsoComplete(code: string, codeVerifier: string, redirectUrl: string,
|
||||
twoFactorProvider: TwoFactorProviderType, twoFactorToken: string, remember?: boolean): Promise<AuthResult> {
|
||||
this.selectedTwoFactorProviderType = null;
|
||||
return await this.logInHelper(null, null, code, codeVerifier, redirectUrl, null,
|
||||
twoFactorProvider, twoFactorToken, remember);
|
||||
}
|
||||
|
||||
logOut(callback: Function) {
|
||||
callback();
|
||||
this.messagingService.send('loggedOut');
|
||||
|
||||
Reference in New Issue
Block a user