GetUserAgentResponseDTO
Package: @nauth-toolkit/core
Type: DTO (Response)
Response data transfer object for user agent string from the current request context.
- NestJS
- Express
- Fastify
import { GetUserAgentResponseDTO } from '@nauth-toolkit/nestjs';
import { GetUserAgentResponseDTO } from '@nauth-toolkit/core';
import { GetUserAgentResponseDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
userAgent | string | Yes | User agent string from the request. Returns 'unknown' if called outside request context. |
Example
{
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
}