add oauth app connected
This commit is contained in:
@@ -131,3 +131,40 @@ export class OAuthTokenIncomingDto {
|
||||
@IsString()
|
||||
code_verifier?: string;
|
||||
}
|
||||
|
||||
export class OAuthConsentActionDto {
|
||||
@ApiPropertyOptional({ description: 'OAuth client_id (RFC 6749)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
clientId?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'OAuth client_id (legacy camelCase)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
client_id?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'Scopes через пробел', example: 'openid profile email' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
scope?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'redirect_uri (RFC 6749)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
redirectUri?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'redirect_uri (legacy camelCase)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
redirect_uri?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'OAuth state' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
state?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: 'OpenID Connect nonce' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
nonce?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user