-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmanifest.ts
More file actions
67 lines (62 loc) · 1.56 KB
/
manifest.ts
File metadata and controls
67 lines (62 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
/**
* Canonical plugin-auth manifest source.
*
* Both `objectstack.config.ts` (compile-time) and `auth-plugin.ts`
* (runtime `manifest.register`) import from this file so the two
* registration paths cannot drift (D7).
*/
import {
SysAccount,
SysApiKey,
SysDeviceCode,
SysInvitation,
SysMember,
SysJwks,
SysOauthAccessToken,
SysOauthApplication,
SysOauthConsent,
SysOauthRefreshToken,
SysOrganization,
SysSession,
SysTeam,
SysTeamMember,
SysTwoFactor,
SysUser,
SysUserPreference,
SysVerification,
} from '@objectstack/platform-objects/identity';
export const AUTH_PLUGIN_ID = 'com.objectstack.plugin-auth';
export const AUTH_PLUGIN_VERSION = '3.0.1';
/** Identity objects owned by plugin-auth. */
export const authIdentityObjects: any[] = [
SysUser,
SysSession,
SysAccount,
SysVerification,
SysOrganization,
SysMember,
SysInvitation,
SysTeam,
SysTeamMember,
SysApiKey,
SysTwoFactor,
SysUserPreference,
SysOauthApplication,
SysOauthAccessToken,
SysOauthRefreshToken,
SysOauthConsent,
SysJwks,
SysDeviceCode,
];
/** Manifest header shared by compile-time config and runtime registration. */
export const authPluginManifestHeader = {
id: AUTH_PLUGIN_ID,
namespace: 'sys',
version: AUTH_PLUGIN_VERSION,
type: 'plugin' as const,
scope: 'system' as const,
defaultDatasource: 'cloud',
name: 'Authentication & Identity Plugin',
description: 'Core authentication objects for ObjectStack (User, Session, Account, Verification)',
};