Skip to main content

SocialExchangeDTO

Package: @nauth-toolkit/core Type: DTO (Request)

Request DTO for exchanging a short-lived exchange token (from redirect-first social login callback) into an AuthResponseDTO.

import { SocialExchangeDTO } from '@nauth-toolkit/nestjs';

Properties

PropertyTypeRequiredDescription
exchangeTokenstringYesOne-time exchange token from callback redirect URL. Max 500 characters. Trimmed.

Example

{
"exchangeToken": "a1b2c3d4e5f6..."
}

Used By