> ## Documentation Index
> Fetch the complete documentation index at: https://translations.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Identificador

Describe un campo de identificador configurado (por ejemplo, correo electrónico, teléfono o username)
para su uso en un formulario de registro o flujo de autenticación.

```ts Example theme={null}
export interface Identifier {
  /**
   * El tipo de identificador, como `'email'`, `'phone'` o `'username'`.
   *
   * @see IdentifierType
   */
  type: IdentifierType;

  /**
   * Si este identificador es obligatorio para el registro.
   */
  required: boolean;
}
```

<div id="example">
  ## Ejemplo
</div>

```ts theme={null}
const emailIdentifier: Identifier = {
  type: 'email',
  required: true
};
```

<div id="properties">
  ## Propiedades
</div>

<ParamField body="required" type="boolean">
  Indica si este identificador es obligatorio para registrarse.
</ParamField>

<ParamField body="type" type={<span><a href="/es/docs/libraries/acul/js-sdk/Screens/type-aliases/ScreenIdentifierType">ScreenIdentifierType</a></span>}>
  El tipo de identificador, como `'email'`, `'phone'` o `'username'`.

  Tipo
</ParamField>
