src/auth/dto/oauth-token-error-response.dto.ts

Index

Properties

Properties

error
Type : string
Decorators :
@ApiProperty({description: 'OAuth2 error code'})
Optional error_description
Type : string
Decorators :
@ApiPropertyOptional({description: 'Human-readable error description'})
Optional error_uri
Type : string
Decorators :
@ApiPropertyOptional({description: 'URI identifying the error'})
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";

export class OAuthTokenErrorResponseDto {
    @ApiProperty({ description: "OAuth2 error code" })
    error!: string;

    @ApiPropertyOptional({ description: "Human-readable error description" })
    error_description?: string;

    @ApiPropertyOptional({ description: "URI identifying the error" })
    error_uri?: string;
}

results matching ""

    No results matching ""