payload-zitadel-plugin
Version:
plugin for Payload CMS, which enables authentication via Zitadel IdP
109 lines • 2.43 kB
TypeScript
export declare const AUTHORIZE_QUERY: {
response_type: string;
scope: string;
code_challenge_method: string;
};
export declare const COMPONENTS_PATH = "payload-zitadel-plugin/components";
export declare const COOKIES: {
pkce: {
httpOnly: true;
path: string;
sameSite: "lax";
secure: boolean;
name: string;
};
idToken: {
httpOnly: true;
path: string;
sameSite: "lax";
secure: boolean;
name: string;
};
logout: {
httpOnly: true;
path: string;
sameSite: "lax";
secure: boolean;
name: string;
value: string;
};
};
export declare const DEFAULT_CONFIG: {
fields: {
id: {
name: string;
label: {
de: string;
en: string;
};
};
name: {
name: string;
label: {
de: string;
en: string;
};
};
email: {
name: string;
label: {
de: string;
en: string;
};
};
image: {
name: string;
label: {
de: string;
en: string;
};
};
roles: {
name: string;
label: {
de: string;
en: string;
};
labels: {
singular: {
de: string;
en: string;
};
plural: {
de: string;
en: string;
};
};
};
roleFields: {
name: {
name: string;
label: {
de: string;
en: string;
};
};
};
};
strategyName: string;
label: string;
};
export declare const ENDPOINT_PATHS: {
authorize: string;
introspect: string;
token: string;
end_session: string;
};
export declare const ERRORS: {
issuerURL: Error;
clientId: Error;
apiKeyId: Error;
apiKey: Error;
};
export declare const ROLES_KEY = "urn:zitadel:iam:org:project:roles";
export declare const ROUTES: {
authorize: string;
callback: string;
end_session: string;
};
//# sourceMappingURL=constants.d.ts.map