UNPKG

@strongnguyen/oidc-provider

Version:

OAuth 2.0 Authorization Server implementation for Node.js with OpenID Connect

2 lines (1 loc) 65 B
module.exports = (date = Date.now()) => Math.floor(date / 1000);