Exemplo n.º 1
0
 public LapiClient(
     Guid ownGuid,
     ImmutableArray <byte> presharedKey,
     IAuthenticatedConnectionFactory authenticatedConnectionFactory,
     IOtpServiceFactory otpServiceFactory)
 {
     this.ownGuid      = ownGuid;
     this.presharedKey = presharedKey;
     this.authenticatedConnectionFactory = authenticatedConnectionFactory;
     this.otpServiceFactory = otpServiceFactory;
 }
Exemplo n.º 2
0
 public LapiServer(
     Guid ownGuid,
     ImmutableArray <byte> presharedKey,
     IAuthenticatedConnectionFactory authenticatedConnectionFactory,
     IOtpServiceFactory otpServiceFactory,
     IServer serverImplementation)
 {
     this.presharedKey = presharedKey;
     this.authenticatedConnectionFactory = authenticatedConnectionFactory;
     this.otpServiceFactory    = otpServiceFactory;
     this.serverImplementation = serverImplementation;
     this.ownGuid = ownGuid;
 }