We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06c07dc commit bf2b589Copy full SHA for bf2b589
packages/auth-providers/dbAuth/api/src/shared.ts
@@ -96,13 +96,6 @@ const legacyDecryptSession = (encryptedText: string) => {
96
export const extractCookie = (event: APIGatewayProxyEvent | Request) => {
97
return eventGraphiQLHeadersCookie(event) || getEventHeader(event, 'Cookie')
98
}
99
-
100
-function extractEncryptedSessionFromHeader(
101
- event: APIGatewayProxyEvent | Request
102
-) {
103
- return getEventHeader(event, 'Authorization')?.split(' ')[1]
104
-}
105
106
// whether this encrypted session was made with the old CryptoJS algorithm
107
export const isLegacySession = (text: string | undefined) => {
108
if (!text) {
0 commit comments