From 63484f54c6bc57d62d55a7be0277b63ba31e59dc Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 29 Jul 2023 11:38:55 +0200 Subject: [PATCH] auth-node: export OAuth state helpers and types Signed-off-by: Patrik Oldsberg --- plugins/auth-node/src/oauth/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/auth-node/src/oauth/index.ts b/plugins/auth-node/src/oauth/index.ts index 99f05b0d0c..ff07a1e6a8 100644 --- a/plugins/auth-node/src/oauth/index.ts +++ b/plugins/auth-node/src/oauth/index.ts @@ -26,6 +26,12 @@ export { } from './PassportOAuthAuthenticatorHelper'; export { OAuthEnvironmentHandler } from './OAuthEnvironmentHandler'; export { createOAuthProviderFactory } from './createOAuthProviderFactory'; +export { + encodeOAuthState, + decodeOAuthState, + type OAuthState, + type OAuthStateTransform, +} from './state'; export { createOAuthAuthenticator, type OAuthAuthenticator,