Skip to main content

AdminResetPasswordResponse

Package: @nauth-toolkit/client Type: Response

Response payload for admin-initiated password reset request. Contains delivery information and optional session revocation count.

import { AdminResetPasswordResponse } from '@nauth-toolkit/client';

Properties

PropertyTypeDescription
deliveryMedium'email' | 'sms'Delivery medium used
destinationstringMasked destination where code was sent (e.g., "u***r@example.com" or "***-***-5678")
expiresInnumberCode expiry in seconds
sessionsRevokednumberNumber of sessions revoked (if revokeSessions was true)
successbooleanSuccess indicator

Example

{
"success": true,
"destination": "u***r@example.com",
"deliveryMedium": "email",
"expiresIn": 3600,
"sessionsRevoked": 3
}

SMS delivery:

{
"success": true,
"destination": "***-***-5678",
"deliveryMedium": "sms",
"expiresIn": 3600,
"sessionsRevoked": 0
}

Used By