Skip to main content
Version: Next

AuthProviderFactory

Home > @backstage/plugin-auth-node > AuthProviderFactory

Signature:

export type AuthProviderFactory = (options: {
providerId: string;
globalConfig: AuthProviderConfig;
config: Config;
logger: LoggerService;
resolverContext: AuthResolverContext;
baseUrl: string;
appUrl: string;
isOriginAllowed: (origin: string) => boolean;
cookieConfigurer?: CookieConfigurer;
}) => AuthProviderRouteHandlers;

References: AuthProviderConfig, Config, LoggerService, AuthResolverContext, CookieConfigurer, AuthProviderRouteHandlers