Files
sso-mvk/src/oidc/dto/authorize.dto.ts
Дмитрий Мамедов f37733a5c9 first commit
2026-06-10 16:23:41 +03:00

29 lines
425 B
TypeScript

import { IsString, IsOptional } from 'class-validator';
export class AuthorizeDto {
@IsString()
response_type!: string;
@IsString()
client_id!: string;
@IsString()
redirect_uri!: string;
@IsOptional()
@IsString()
scope?: string;
@IsOptional()
@IsString()
state?: string;
@IsOptional()
@IsString()
code_challenge?: string;
@IsOptional()
@IsString()
code_challenge_method?: string;
}