From af8980bcb22250d7fc17e97a56f2e3c09f55aef5 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sat, 20 Aug 2022 12:55:18 +0000 Subject: [PATCH] signinWithoutSecurityCode is added --- proto/c2se/frontend/identity.proto | 1 + proto/c2se/identity.proto | 14 ++++++++++++++ proto/ss/identity.proto | 19 +++++++++++++++++++ 3 files changed, 34 insertions(+) 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 {