Back to Medusa

UpdateProviderIdentityDTO

www/apps/resources/references/auth/interfaces/auth.UpdateProviderIdentityDTO/page.mdx

2.14.21.1 KB
Original Source

import { TypeList } from "docs-ui"

UpdateProviderIdentityDTO

The provider identity to be created.

<TypeList types={[{"name":"id","type":"string","description":"The ID of the provider identity.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"entity_id","type":"string","description":"The user's identifier. For example, when using the emailpass\nprovider, the entity_id would be the user's email.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"provider_metadata","type":"Record<string, unknown>","description":"Holds custom data related to the provider in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"user_metadata","type":"Record<string, unknown>","description":"Holds custom data related to the user in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="UpdateProviderIdentityDTO"/>