public LapiClient( Guid ownGuid, ImmutableArray <byte> presharedKey, IAuthenticatedConnectionFactory authenticatedConnectionFactory, IOtpServiceFactory otpServiceFactory) { this.ownGuid = ownGuid; this.presharedKey = presharedKey; this.authenticatedConnectionFactory = authenticatedConnectionFactory; this.otpServiceFactory = otpServiceFactory; }
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; }