anchor.diff:                  throw(refresh_wrong_client)
           end,
   
  +        Now = vcn_utils:time(),
           {AccessToken, AccessTokenHash, RefreshTokenNew, ExpirationTime} =
  -            generate_access_tokens(vcn_utils:time()),
  +            generate_access_tokens(Now),
   
           AccessDocUpdated = AccessDoc#veil_document{record = Access#access{
               token = AccessToken,
  
positive.code: 
          {ok, _} = ?DB(save_access, AccessDocUpdated),
  
          {ok, AccessExpirationSecs} = application:get_env(?APP_Name, access_token_expiration_seconds),
  
          {ok, [
              {access_token, AccessToken},
              {token_type, bearer},
              {expires_in, AccessExpirationSecs},
              {refresh_token, RefreshTokenNew},
              {scope, openid}
          ]}
      catch
          Error -> {error, Error}
      end.
  
negative.code:         end,
  
          #veil_document{record = Access} = AccessDoc,
          #access{provider_id = ProviderId, user_id = UserId} = Access,
  
          case Client of
              {provider, ProviderId} -> ok;
  