> ## Documentation Index
> Fetch the complete documentation index at: https://crossmint-devin-1787949784-wallet-docs-two-concept-model.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DelegatedSignerData

> Kotlin Data Class

**Data Class**

```kotlin theme={null}
data class DelegatedSignerData(val locator: String, val status: DelegatedSignerStatus = DelegatedSignerStatus.UNKNOWN)
```

## Constructors

```kotlin theme={null}
constructor(locator: String, status: DelegatedSignerStatus = DelegatedSignerStatus.UNKNOWN)
```

## Properties

| Property     | Type                    | Description                                                                                                                                                                                                                                                                                                                                                        |
| ------------ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `identifier` | `String`                | The signer identifier extracted from the locator (e.g. email address, phone number, wallet address). Returns the full locator if no type prefix is present.                                                                                                                                                                                                        |
| `locator`    | `String`                | -                                                                                                                                                                                                                                                                                                                                                                  |
| `status`     | `DelegatedSignerStatus` | -                                                                                                                                                                                                                                                                                                                                                                  |
| `type`       | `DelegatedSignerType`   | The signer type derived from the locator prefix (e.g. "device:", "email:"). Falls back to matching the whole locator when there's no colon, so an addressless API key signer (locator `"api-key"`, no identifier) still resolves to DelegatedSignerType.API\_KEY. Returns DelegatedSignerType.UNKNOWN for locators that match no known type (e.g. bare addresses). |

## Functions

| Function       | Description                                                                                                                                                                                                               |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `toSignerData` | Converts this delegated signer data to SignerData if possible. Only email and phone signers can be converted (non-custodial, TEE-backed signers). Returns null for passkey, api-key, external-wallet, and device signers. |

### toSignerData

```kotlin theme={null}
fun toSignerData(): SignerData?
```

Converts this delegated signer data to SignerData if possible. Only email and phone signers can be converted (non-custodial, TEE-backed signers). Returns null for passkey, api-key, external-wallet, and device signers.
