< Summary

Class:Decentraland.Bff.ClientBffAuthenticationService
Assembly:Decentraland.Protocol.GeneratedCode
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/Decentraland/bff/ClientAuthenticationServiceService.gen.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:29
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
ClientBffAuthenticationService(...)0%2100%
GetChallenge(...)0%2100%
Authenticate(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/Scripts/MainScripts/DCL/DecentralandProtocol/Decentraland/bff/ClientAuthenticationServiceService.gen.cs

#LineLine coverage
 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
 6using Cysharp.Threading.Tasks;
 7using rpc_csharp;
 8
 9namespace Decentraland.Bff {
 10public class ClientBffAuthenticationService
 11{
 12  private readonly RpcClientModule module;
 13
 014  public ClientBffAuthenticationService(RpcClientModule module)
 15  {
 016      this.module = module;
 017  }
 18
 19  public UniTask<GetChallengeResponse> GetChallenge(GetChallengeRequest request)
 20  {
 021      return module.CallUnaryProcedure<GetChallengeResponse>("GetChallenge", request);
 22  }
 23
 24  public UniTask<WelcomePeerInformation> Authenticate(SignedChallenge request)
 25  {
 026      return module.CallUnaryProcedure<WelcomePeerInformation>("Authenticate", request);
 27  }
 28}
 29}