UNPKG

775 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.authenticationSettingsSchema = exports.defaultOptions = void 0;
4const schema_1 = require("@feathersjs/schema");
5Object.defineProperty(exports, "authenticationSettingsSchema", { enumerable: true, get: function () { return schema_1.authenticationSettingsSchema; } });
6exports.defaultOptions = {
7 authStrategies: [],
8 jwtOptions: {
9 header: { typ: 'access' }, // by default is an access token but can be any type
10 audience: 'https://yourdomain.com', // The resource server where the token is processed
11 issuer: 'feathers', // The issuing server, application or resource
12 algorithm: 'HS256',
13 expiresIn: '1d'
14 }
15};
16//# sourceMappingURL=options.js.map
\No newline at end of file