lib/authorizer/hawk.js
function (auth, done) {
        !auth.get('nonce') && auth.set('nonce', randomString(6));
        !_.parseInt(auth.get('timestamp')) && auth.set('timestamp', Math.floor(Date.now() / 1e3));
        done(null, true);
    }
function (auth, done) {
        !auth.get('nonce') && auth.set('nonce', randomString(6));
        !_.parseInt(auth.get('timestamp')) && auth.set('timestamp', Math.floor(Date.now() / 1e3));
        done(null, true);
    }
function ( auth , done ) { ! auth . get ( 'nonce' ) && auth . set ( 'nonce' , randomString ( 6 ) ) ; ! _ . parseInt ( auth . get ( 'timestamp' ) ) && auth . set ( 'timestamp' , Math . floor ( Date . now ( ) / 1e3 ) ) ; done ( null , true ) ; }
Checks the item, and fetches any parameters that are not already provided.
Sanitizes the auth parameters if needed.

@param {AuthInterface} auth
@param {AuthHandlerInterface~authPreHookCallback} done
Checks the item and fetches any parameters that are not already provided . Sanitizes the auth parameters if needed .