Ejemplo n.º 1
0
 internal AblyAuth(ClientOptions options, AblyRest rest)
 {
     Now     = options.NowFunc;
     Options = options;
     _rest   = rest;
     Logger  = options.Logger;
     Initialise();
 }
Ejemplo n.º 2
0
 internal AblyAuth(ClientOptions options, AblyRest rest)
 {
     Now              = options.NowFunc;
     Options          = options;
     _rest            = rest;
     Logger           = options.Logger;
     ServerTime       = () => _rest.TimeAsync();
     ServerTimeOffset = () => null;
     Initialise();
 }