@nexim/upload-types
Version:
TypeScript types and interfaces for Nexim Media Upload Service, including image preset configurations and file handling types
29 lines (17 loc) • 373 B
Markdown
[@nexim/upload-types](../README.md) / UserAuth
# Type Alias: UserAuth
> **UserAuth** = `object`
User authentication information used for validating upload requests.
## Example
```ts
const auth: UserAuth = {
id: 'user_12345',
token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...',
};
```
## Properties
### id
> **id**: `string`
### token
> **token**: `string`