www/category-category-module-es5.js
/**
     * Checks if the saved tokenDetails object matches the configuration provided.
     */
Checks if the saved tokenDetails object matches the configuration provided.
Checks if the saved tokenDetails object matches the configuration provided .
function isTokenValid(dbOptions, currentOptions) {
      var isVapidKeyEqual = currentOptions.vapidKey === dbOptions.vapidKey;
      var isEndpointEqual = currentOptions.endpoint === dbOptions.endpoint;
      var isAuthEqual = currentOptions.auth === dbOptions.auth;
      var isP256dhEqual = currentOptions.p256dh === dbOptions.p256dh;
      return isVapidKeyEqual && isEndpointEqual && isAuthEqual && isP256dhEqual;
    }
function isTokenValid ( dbOptions , currentOptions ) { var isVapidKeyEqual = currentOptions . vapidKey === dbOptions . vapidKey ; var isEndpointEqual = currentOptions . endpoint === dbOptions . endpoint ; var isAuthEqual = currentOptions . auth === dbOptions . auth ; var isP256dhEqual = currentOptions . p256dh === dbOptions . p256dh ; return isVapidKeyEqual && isEndpointEqual && isAuthEqual && isP256dhEqual ; }
Checks if the saved tokenDetails object matches the configuration provided.
Checks if the saved tokenDetails object matches the configuration provided .