| | 1 | |
|
| | 2 | | // AUTOGENERATED, DO NOT EDIT |
| | 3 | | // Type definitions for server implementations of ports. |
| | 4 | | // package: decentraland.bff |
| | 5 | | // file: decentraland/bff/authentication_service.proto |
| | 6 | | using Cysharp.Threading.Tasks; |
| | 7 | | using rpc_csharp; |
| | 8 | |
|
| | 9 | | namespace Decentraland.Bff { |
| | 10 | | public class ClientBffAuthenticationService |
| | 11 | | { |
| | 12 | | private readonly RpcClientModule module; |
| | 13 | |
|
| 0 | 14 | | public ClientBffAuthenticationService(RpcClientModule module) |
| | 15 | | { |
| 0 | 16 | | this.module = module; |
| 0 | 17 | | } |
| | 18 | |
|
| | 19 | | public UniTask<GetChallengeResponse> GetChallenge(GetChallengeRequest request) |
| | 20 | | { |
| 0 | 21 | | return module.CallUnaryProcedure<GetChallengeResponse>("GetChallenge", request); |
| | 22 | | } |
| | 23 | |
|
| | 24 | | public UniTask<WelcomePeerInformation> Authenticate(SignedChallenge request) |
| | 25 | | { |
| 0 | 26 | | return module.CallUnaryProcedure<WelcomePeerInformation>("Authenticate", request); |
| | 27 | | } |
| | 28 | | } |
| | 29 | | } |