@crossauth/fastify 0.0.29 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fastifyoauthclient.d.ts +3 -0
- package/dist/fastifyresserver.d.ts +2 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +336 -308
- package/package.json +3 -3
|
@@ -454,4 +454,7 @@ export declare class FastifyOAuthClient extends OAuthClientBackend {
|
|
|
454
454
|
} | FastifyReply | undefined>;
|
|
455
455
|
private refreshTokens;
|
|
456
456
|
private deleteTokens;
|
|
457
|
+
storeSessionData(sessionData: {
|
|
458
|
+
[key: string]: any;
|
|
459
|
+
}, request: FastifyRequest, reply?: FastifyReply): Promise<void>;
|
|
457
460
|
}
|
|
@@ -31,6 +31,7 @@ export interface FastifyOAuthResourceServerOptions extends OAuthResourceServerOp
|
|
|
31
31
|
[key: string]: {
|
|
32
32
|
scope?: string[];
|
|
33
33
|
acceptSessionAuthorization?: boolean;
|
|
34
|
+
suburls?: boolean;
|
|
34
35
|
};
|
|
35
36
|
};
|
|
36
37
|
/**
|
|
@@ -86,6 +87,7 @@ export interface FastifyOAuthResourceServerOptions extends OAuthResourceServerOp
|
|
|
86
87
|
export declare class FastifyOAuthResourceServer extends OAuthResourceServer {
|
|
87
88
|
private userStorage?;
|
|
88
89
|
private protectedEndpoints;
|
|
90
|
+
private protectedEndpointPrefixes;
|
|
89
91
|
private errorBody;
|
|
90
92
|
private sessionDataName;
|
|
91
93
|
private tokenLocations;
|