This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/web/src/api/application.ts

19 lines
429 B
TypeScript
Raw Normal View History

import { DefaultClient } from "./client";
export class Application {
pk?: string;
name?: string;
slug?: string;
provider?: number;
meta_launch_url?: string;
meta_icon?: string;
meta_description?: string;
meta_publisher?: string;
policies?: string[];
static get(slug: string): Promise<Application> {
return DefaultClient.fetch<Application>("core", "applications", slug);
}
}