Module: providers
Interfaces​
Type Aliases​
EndpointHandler​
Ƭ EndpointHandler<P
, C
, R
>: AdvancedEndpointHandler
<P
, C
, R
>
Either an URL (containing all the parameters) or an object with more granular control.
Type parameters​
Name | Type |
---|---|
P | extends UrlParams |
C | any |
R | any |
Provider​
Ƭ Provider<P
>: OIDCConfig
<P
> | OAuth2Config
<P
> | EmailConfig
| CredentialsConfig
& { options
: Record
<string
, unknown
> }
Must be a supported authentication provider config:
- OAuthConfig
- EmailConfigInternal
- CredentialsConfigInternal
For more information, see the guides:
See
Type parameters​
Name | Type |
---|---|
P | extends Profile = Profile |
ProviderType​
Ƭ ProviderType: "oidc"
| "oauth"
| "email"
| "credentials"
Providers passed to Auth.js must define one of these types.
See