2026-03-22 09:09:04 +01:00

21 lines
371 B
TypeScript

import type {Grant} from "~/client/Grant";
export class Client
{
constructor(
public id: string,
public name: string,
public redirectURI: string,
public allowedGrants: Grant[]
)
{
}
}
export class ClientCreation
{
name?: string;
secret?: string;
redirectURI?: string;
public allowedGrants: Grant[] = [];
}