fastify-openid-auth
Advanced tools
Sorry, the diff of this file is not supported yet
+12
-0
@@ -0,1 +1,13 @@ | ||
| # [5.0.0](https://github.com/mikaelkaron/fastify-openid-auth/compare/v4.1.0...v5.0.0) (2023-06-29) | ||
| ### Build System | ||
| * **package:** bump deps ([a9cad5f](https://github.com/mikaelkaron/fastify-openid-auth/commit/a9cad5f70de363fecc76176afcd563b597dd5759)) | ||
| ### BREAKING CHANGES | ||
| * **package:** A lot of deps had major version updates, bump accordingly | ||
| # [4.1.0](https://github.com/mikaelkaron/fastify-openid-auth/compare/v4.0.2...v4.1.0) (2022-09-30) | ||
@@ -2,0 +14,0 @@ |
+12
-4
| import { RouteHandlerMethod } from 'fastify'; | ||
| import createError from '@fastify/error'; | ||
| import { AuthorizationParameters, CallbackExtras, Client } from 'openid-client'; | ||
@@ -24,5 +23,14 @@ import { OpenIDWriteTokens } from './types'; | ||
| } | ||
| export declare const SessionKeyError: createError.FastifyErrorConstructor; | ||
| export declare const SessionValueError: createError.FastifyErrorConstructor; | ||
| export declare const SupportedMethodError: createError.FastifyErrorConstructor; | ||
| export declare const SessionKeyError: import("@fastify/error").FastifyErrorConstructor<{ | ||
| code: "FST_SESSION_KEY"; | ||
| statusCode: 500; | ||
| }, [any?, any?, any?]>; | ||
| export declare const SessionValueError: import("@fastify/error").FastifyErrorConstructor<{ | ||
| code: "FST_SESSION_VALUE"; | ||
| statusCode: 500; | ||
| }, [any?, any?, any?]>; | ||
| export declare const SupportedMethodError: import("@fastify/error").FastifyErrorConstructor<{ | ||
| code: "FST_SUPPORTED_METHOD"; | ||
| statusCode: 500; | ||
| }, [any?, any?, any?]>; | ||
| export declare const openIDLoginHandlerFactory: (client: Client, options?: OpenIDLoginHandlerOptions) => RouteHandlerMethod; |
+2
-2
| import { FastifyInstance, FastifyReply, FastifyRequest } from 'fastify'; | ||
| import { TokenSetParameters } from 'openid-client'; | ||
| export declare type OpenIDReadTokens = (this: FastifyInstance, request: FastifyRequest, reply: FastifyReply) => Promise<TokenSetParameters> | TokenSetParameters; | ||
| export declare type OpenIDWriteTokens = (this: FastifyInstance, request: FastifyRequest, reply: FastifyReply, tokenset: TokenSetParameters) => Promise<void> | void; | ||
| export type OpenIDReadTokens = (this: FastifyInstance, request: FastifyRequest, reply: FastifyReply) => Promise<TokenSetParameters> | TokenSetParameters; | ||
| export type OpenIDWriteTokens = (this: FastifyInstance, request: FastifyRequest, reply: FastifyReply, tokenset: TokenSetParameters) => Promise<void> | void; |
+1
-1
@@ -5,3 +5,3 @@ import { RouteHandlerMethod } from 'fastify'; | ||
| import { OpenIDReadTokens, OpenIDWriteTokens } from './types'; | ||
| export declare type OpenIDVerifyTokens = keyof Pick<TokenSetParameters, 'id_token' | 'access_token' | 'refresh_token'>; | ||
| export type OpenIDVerifyTokens = keyof Pick<TokenSetParameters, 'id_token' | 'access_token' | 'refresh_token'>; | ||
| export interface OpenIDVerifyHandlerOptions { | ||
@@ -8,0 +8,0 @@ options?: JWTVerifyOptions; |
+19
-19
| { | ||
| "name": "fastify-openid-auth", | ||
| "version": "4.1.0", | ||
| "version": "5.0.0", | ||
| "description": "Fastify auth plugin for openid-client", | ||
@@ -29,23 +29,23 @@ "main": "dist/index.js", | ||
| "devDependencies": { | ||
| "@semantic-release/changelog": "^6.0.1", | ||
| "@semantic-release/commit-analyzer": "^9.0.2", | ||
| "@semantic-release/git": "^10.0.1", | ||
| "@semantic-release/github": "^8.0.6", | ||
| "@semantic-release/npm": "^9.0.1", | ||
| "@semantic-release/release-notes-generator": "^10.0.3", | ||
| "@tsconfig/node17": "^1.0.2", | ||
| "@types/node": "^17.0.21", | ||
| "eslint": "^8.24.0", | ||
| "eslint-config-standard-with-typescript": "^23.0.0", | ||
| "semantic-release": "^19.0.5", | ||
| "shx": "^0.3.4", | ||
| "typescript": "^4.8.4" | ||
| "@semantic-release/changelog": "^6", | ||
| "@semantic-release/commit-analyzer": "^10", | ||
| "@semantic-release/git": "^10", | ||
| "@semantic-release/github": "^9", | ||
| "@semantic-release/npm": "^10", | ||
| "@semantic-release/release-notes-generator": "^11", | ||
| "@tsconfig/node20": "^1", | ||
| "@types/node": "^20", | ||
| "eslint": "^8", | ||
| "eslint-config-standard-with-typescript": "^35", | ||
| "semantic-release": "^21", | ||
| "shx": "^0", | ||
| "typescript": "^5" | ||
| }, | ||
| "dependencies": { | ||
| "fastify": "^4.6.0", | ||
| "@fastify/error": "^3.0.0", | ||
| "fastify-plugin": "^4.2.1", | ||
| "jose": "^4.10.0", | ||
| "openid-client": "^5.1.10" | ||
| "fastify": "^4", | ||
| "@fastify/error": "^3", | ||
| "fastify-plugin": "^4", | ||
| "jose": "^4", | ||
| "openid-client": "^5" | ||
| } | ||
| } |
+1
-1
| { | ||
| "extends": "@tsconfig/node17/tsconfig.json", | ||
| "extends": "@tsconfig/node20/tsconfig.json", | ||
| "compilerOptions": { | ||
@@ -4,0 +4,0 @@ "sourceMap": true, |
Sorry, the diff of this file is not supported yet
52215
1.17%713
1.13%Updated
Updated
Updated
Updated
Updated