16 lines
499 B
TypeScript
16 lines
499 B
TypeScript
import type { InternalProvider } from "../types";
|
|
import type { Provider } from "../../providers";
|
|
import type { InternalUrl } from "../../utils/parse-url";
|
|
/**
|
|
* Adds `signinUrl` and `callbackUrl` to each provider
|
|
* and deep merge user-defined options.
|
|
*/
|
|
export default function parseProviders(params: {
|
|
providers: Provider[];
|
|
url: InternalUrl;
|
|
providerId?: string;
|
|
}): {
|
|
providers: InternalProvider[];
|
|
provider?: InternalProvider;
|
|
};
|
|
//# sourceMappingURL=providers.d.ts.map
|