diff --git a/proto/c2se/frontend/identity.proto b/proto/c2se/frontend/identity.proto index e46ab40..34ae29f 100644 --- a/proto/c2se/frontend/identity.proto +++ b/proto/c2se/frontend/identity.proto @@ -7,3 +7,4 @@ package bet.beteran.c2se.frontend.identity; // subject = bet.beteran.c2se.frontend.identity.Captcha // subject = bet.beteran.c2se.frontend.identity.Signin +// subject = bet.beteran.c2se.frontend.identity.SigninWithoutSecurityCode diff --git a/proto/c2se/identity.proto b/proto/c2se/identity.proto index e703c77..e90bc72 100644 --- a/proto/c2se/identity.proto +++ b/proto/c2se/identity.proto @@ -55,3 +55,17 @@ message SigninResponse { optional bet.protobuf.rpc.Error error = 1; optional Result result = 2; } + + +message SigninWithoutSecurityCodeRequest { + string username = 1; + string password = 2; +} + +message SigninWithoutSecurityCodeResponse { + message Result { + string access_token = 1; + } + optional bet.protobuf.rpc.Error error = 1; + optional Result result = 2; +} diff --git a/proto/ss/identity.proto b/proto/ss/identity.proto index eb5ec59..a56cd81 100644 --- a/proto/ss/identity.proto +++ b/proto/ss/identity.proto @@ -79,6 +79,25 @@ message SigninResponse { optional Result result = 2; } + +// subject = bet.beteran.ss.identity.SigninWithoutSecurityCode +message SigninWithoutSecurityCodeRequest { + message Request { + string username = 1; + string password = 2; + } + bet.beteran.core.network.Client client = 1; + Request request = 2; +} + +message SigninWithoutSecurityCodeResponse { + message Result { + string access_token = 1; + } + optional bet.protobuf.rpc.Error error = 1; + optional Result result = 2; +} + // subject = bet.beteran.ss_event.identity.AfterSignin message AfterSigninEvent { message Event {