UNPKG

@mercury-labs/nest-auth

Version:

Mercury framework auth library. It supports local auth, jwt with both bearer token and cookie, basic auth.

8 lines 442 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PublicWithOptionalUser = void 0; const common_1 = require("@nestjs/common"); const domain_1 = require("../../domain"); const PublicWithOptionalUser = () => (0, common_1.SetMetadata)(domain_1.IS_PUBLIC_WITH_OPTIONAL_USER_KEY, true); exports.PublicWithOptionalUser = PublicWithOptionalUser; //# sourceMappingURL=auth.public-with-optional-user.decorator.js.map