chore: rename to emailMatchingUserEntityProfileEmail

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-04-26 13:41:29 +02:00
parent 44bdcbdb66
commit d047f48ae6
5 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -11,6 +11,6 @@ Add the existing resolver to more providers (already available at `google`):
Add a new resolver for simple email-to-email matching:
- `providers.google.resolvers.emailMatchingUserEntityEmail()`
- `providers.microsoft.resolvers.emailMatchingUserEntityEmail()`
- `providers.okta.resolvers.emailMatchingUserEntityEmail()`
- `providers.google.resolvers.emailMatchingUserEntityProfileEmail()`
- `providers.microsoft.resolvers.emailMatchingUserEntityProfileEmail()`
- `providers.okta.resolvers.emailMatchingUserEntityProfileEmail()`
+3 -3
View File
@@ -872,7 +872,7 @@ export const providers: Readonly<{
) => AuthProviderFactory;
resolvers: Readonly<{
emailLocalPartMatchingUserEntityName: () => SignInResolver<unknown>;
emailMatchingUserEntityEmail: () => SignInResolver<unknown>;
emailMatchingUserEntityProfileEmail: () => SignInResolver<unknown>;
emailMatchingUserEntityAnnotation(): SignInResolver<OAuthResult>;
}>;
}>;
@@ -891,7 +891,7 @@ export const providers: Readonly<{
) => AuthProviderFactory;
resolvers: Readonly<{
emailLocalPartMatchingUserEntityName: () => SignInResolver<unknown>;
emailMatchingUserEntityEmail: () => SignInResolver<unknown>;
emailMatchingUserEntityProfileEmail: () => SignInResolver<unknown>;
emailMatchingUserEntityAnnotation(): SignInResolver<OAuthResult>;
}>;
}>;
@@ -949,7 +949,7 @@ export const providers: Readonly<{
) => AuthProviderFactory;
resolvers: Readonly<{
emailLocalPartMatchingUserEntityName: () => SignInResolver<unknown>;
emailMatchingUserEntityEmail: () => SignInResolver<unknown>;
emailMatchingUserEntityProfileEmail: () => SignInResolver<unknown>;
emailMatchingUserEntityAnnotation(): SignInResolver<OAuthResult>;
}>;
}>;
@@ -254,7 +254,7 @@ export const google = createAuthProviderIntegration({
/**
* Looks up the user by matching their email to the entity email.
*/
emailMatchingUserEntityEmail: () => commonByEmailResolver,
emailMatchingUserEntityProfileEmail: () => commonByEmailResolver,
/**
* Looks up the user by matching their email to the `google.com/email` annotation.
*/
@@ -281,7 +281,7 @@ export const microsoft = createAuthProviderIntegration({
/**
* Looks up the user by matching their email to the entity email.
*/
emailMatchingUserEntityEmail: () => commonByEmailResolver,
emailMatchingUserEntityProfileEmail: () => commonByEmailResolver,
/**
* Looks up the user by matching their email to the `microsoft.com/email` annotation.
*/
@@ -285,7 +285,7 @@ export const okta = createAuthProviderIntegration({
/**
* Looks up the user by matching their email to the entity email.
*/
emailMatchingUserEntityEmail: () => commonByEmailResolver,
emailMatchingUserEntityProfileEmail: () => commonByEmailResolver,
/**
* Looks up the user by matching their email to the `okta.com/email` annotation.
*/