@auth/core
Advanced tools
Comparing version 0.8.2 to 0.8.3
{ | ||
"name": "@auth/core", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Authentication for the Web.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -52,3 +52,3 @@ import { Profile } from "../types.js"; | ||
*/ | ||
export type Provider<P extends Profile = Profile> = (((OIDCConfig<P> | OAuth2Config<P> | EmailConfig | CredentialsConfig) & InternalProviderOptions) | ((...args: any) => (OAuth2Config<P> | OIDCConfig<P> | EmailConfig | CredentialsConfig) & InternalProviderOptions)) & InternalProviderOptions; | ||
export type Provider<P extends Profile = any> = (((OIDCConfig<P> | OAuth2Config<P> | EmailConfig | CredentialsConfig) & InternalProviderOptions) | ((...args: any) => (OAuth2Config<P> | OIDCConfig<P> | EmailConfig | CredentialsConfig) & InternalProviderOptions)) & InternalProviderOptions; | ||
export type BuiltInProviders = Record<OAuthProviderType, (config: Partial<OAuthConfig<any>>) => OAuthConfig<any>> & Record<CredentialsProviderType, typeof CredentialsProvider> & Record<EmailProviderType, typeof EmailProvider>; | ||
@@ -55,0 +55,0 @@ export type AppProviders = Array<Provider | ReturnType<BuiltInProviders[keyof BuiltInProviders]>>; |
@@ -65,3 +65,3 @@ import { Profile } from "../types.js" | ||
*/ | ||
export type Provider<P extends Profile = Profile> = ( | ||
export type Provider<P extends Profile = any> = ( | ||
| ((OIDCConfig<P> | OAuth2Config<P> | EmailConfig | CredentialsConfig) & | ||
@@ -68,0 +68,0 @@ InternalProviderOptions) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1255044