mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-04 08:18:34 +00:00
feat(BRIDGE-424): FIDO2 GUI support.
This commit is contained in:
@ -63,8 +63,10 @@ service Bridge {
|
||||
// login
|
||||
rpc Login(LoginRequest) returns (google.protobuf.Empty);
|
||||
rpc Login2FA(LoginRequest) returns (google.protobuf.Empty);
|
||||
rpc LoginFido(LoginRequest) returns (google.protobuf.Empty);
|
||||
rpc Login2Passwords(LoginRequest) returns (google.protobuf.Empty);
|
||||
rpc LoginAbort(LoginAbortRequest) returns (google.protobuf.Empty);
|
||||
rpc FidoAssertionAbort(LoginAbortRequest) returns (google.protobuf.Empty);
|
||||
|
||||
// update
|
||||
rpc CheckUpdate(google.protobuf.Empty) returns (google.protobuf.Empty);
|
||||
@ -313,6 +315,11 @@ message LoginEvent {
|
||||
LoginFinishedEvent finished = 4;
|
||||
LoginFinishedEvent alreadyLoggedIn = 5;
|
||||
LoginHvRequestedEvent hvRequested = 6;
|
||||
LoginFidoRequestedEvent fidoRequested = 7;
|
||||
LoginTfaOrFidoRequestedEvent tfaOrFidoRequested = 8;
|
||||
LoginFidoTouchEvent loginFidoTouchRequested = 9;
|
||||
LoginFidoTouchEvent loginFidoTouchCompleted = 10;
|
||||
LoginFidoPinRequired loginFidoPinRequired = 11;
|
||||
}
|
||||
}
|
||||
|
||||
@ -325,6 +332,9 @@ enum LoginErrorType {
|
||||
TWO_PASSWORDS_ERROR = 5;
|
||||
TWO_PASSWORDS_ABORT = 6;
|
||||
HV_ERROR = 7;
|
||||
FIDO_PIN_INVALID = 8;
|
||||
FIDO_PIN_BLOCKED = 9;
|
||||
FIDO_ERROR = 10;
|
||||
}
|
||||
|
||||
message LoginErrorEvent {
|
||||
@ -336,6 +346,22 @@ message LoginTfaRequestedEvent {
|
||||
string username = 1;
|
||||
}
|
||||
|
||||
message LoginFidoRequestedEvent {
|
||||
string username = 1;
|
||||
}
|
||||
|
||||
message LoginTfaOrFidoRequestedEvent {
|
||||
string username = 1;
|
||||
}
|
||||
|
||||
message LoginFidoTouchEvent {
|
||||
string username = 1;
|
||||
}
|
||||
|
||||
message LoginFidoPinRequired {
|
||||
string username = 1;
|
||||
}
|
||||
|
||||
message LoginTwoPasswordsRequestedEvent {
|
||||
string username = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user