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

# authorization/device-registration-challenge API

> Source-derived exports, parameter and result types, public methods and source links.

This reference is generated from the checked-out TypeScript exports. Types and signatures describe the package contract; source presence does not establish deployment or service availability. Error expressions below are direct throws, not an exhaustive list of failures from dependencies.

[Source module](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts). See the [reference index](https://trust-link-tsn.mintlify.site/sdk/api-reference.md) for package import boundaries and verification scope.

## DeviceRegistrationChallenge

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/authorization/server` or `@trustlink/tsn-sdk/authorization`. [Implementation, line 4](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L4).

### DeviceRegistrationChallenge.protocolVersion

[Source, line 5](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L5).

```ts theme={null}
protocolVersion: "tsn-device-registration-challenge-v1"
```

### DeviceRegistrationChallenge.nonce

[Source, line 6](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L6).

```ts theme={null}
nonce: string
```

### DeviceRegistrationChallenge.tinCommitment

[Source, line 7](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L7).

```ts theme={null}
tinCommitment: string
```

### DeviceRegistrationChallenge.network

[Source, line 8](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L8).

```ts theme={null}
network: string
```

### DeviceRegistrationChallenge.audience

[Source, line 9](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L9).

```ts theme={null}
audience: string
```

### DeviceRegistrationChallenge.issuedAt

[Source, line 10](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L10).

```ts theme={null}
issuedAt: string
```

### DeviceRegistrationChallenge.expiresAt

[Source, line 11](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L11).

```ts theme={null}
expiresAt: string
```

## TSN\_DEVICE\_REGISTRATION\_CHALLENGE\_VERSION

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/authorization/server` or `@trustlink/tsn-sdk/authorization`. [Implementation, line 1](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/authorization/device-registration-challenge.ts#L1).

```ts theme={null}
"tsn-device-registration-challenge-v1"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.