@ory/client
Version:
OpenAPI client for @ory/client
50 lines (42 loc) • 3.41 kB
Markdown
An [identity](https://www.ory.com/docs/kratos/concepts/identity-user-model) represents a (human) user in Ory.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **string** | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] [default to undefined]
**credentials** | [**{ [key: string]: IdentityCredentials; }**](IdentityCredentials.md) | Credentials represents all credentials that can be used for authenticating this identity. | [optional] [default to undefined]
**external_id** | **string** | ExternalID is an optional external ID of the identity. This is used to link the identity to an external system. If set, the external ID must be unique across all identities. | [optional] [default to undefined]
**id** | **string** | ID is the identity\&
**metadata_admin** | **object** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] [default to undefined]
**metadata_public** | **object** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] [default to undefined]
**organization_id** | **string** | | [optional] [default to undefined]
**recovery_addresses** | [**Array<RecoveryIdentityAddress>**](RecoveryIdentityAddress.md) | RecoveryAddresses contains all the addresses that can be used to recover an identity. | [optional] [default to undefined]
**schema_id** | **string** | SchemaID is the ID of the JSON Schema to be used for validating the identity\&
**schema_url** | **string** | SchemaURL is the URL of the endpoint where the identity\&
**state** | **string** | State is the identity\&
**state_changed_at** | **string** | | [optional] [default to undefined]
**traits** | **any** | Traits represent an identity\&
**updated_at** | **string** | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] [default to undefined]
**verifiable_addresses** | [**Array<VerifiableIdentityAddress>**](VerifiableIdentityAddress.md) | VerifiableAddresses contains all the addresses that can be verified by the user. | [optional] [default to undefined]
```typescript
import { Identity } from '@ory/client';
const instance: Identity = {
created_at,
credentials,
external_id,
id,
metadata_admin,
metadata_public,
organization_id,
recovery_addresses,
schema_id,
schema_url,
state,
state_changed_at,
traits,
updated_at,
verifiable_addresses,
};
```
[[Back to Model list]](../README.md