UNPKG

@feathersjs/authentication

Version:

Add Authentication to your FeathersJS app.

16 lines 775 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.authenticationSettingsSchema = exports.defaultOptions = void 0; const schema_1 = require("@feathersjs/schema"); Object.defineProperty(exports, "authenticationSettingsSchema", { enumerable: true, get: function () { return schema_1.authenticationSettingsSchema; } }); exports.defaultOptions = { authStrategies: [], jwtOptions: { header: { typ: 'access' }, // by default is an access token but can be any type audience: 'https://yourdomain.com', // The resource server where the token is processed issuer: 'feathers', // The issuing server, application or resource algorithm: 'HS256', expiresIn: '1d' } }; //# sourceMappingURL=options.js.map