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