mocksaml/types/index.ts

40 lines
654 B
TypeScript
Raw Permalink Normal View History

2022-01-13 17:07:44 +00:00
export type ServiceProvider = {
2022-01-13 17:50:16 +00:00
acs_url: string;
entity_id: string;
2022-01-13 17:07:44 +00:00
};
export type IdentityProvider = {
2022-02-18 04:07:27 +00:00
ssoUrl: string;
entityId: string;
2022-01-13 17:07:44 +00:00
};
export type App = {
id: string;
name: string;
description?: string | null;
2022-02-17 06:05:50 +00:00
certificate?: string | null;
2022-01-13 17:07:44 +00:00
} & ServiceProvider;
2022-01-13 17:50:16 +00:00
export type IdPMetadata = {
certificate: string;
fingerprint?: string;
} & IdentityProvider;
2022-01-14 16:40:25 +00:00
export type SAMLRequest = {
entityID: string;
callbackUrl: string;
signingKey: string;
};
export type AuthNRequest = {
2022-02-17 16:13:25 +00:00
relayState: string;
samlRequest: string;
2022-01-14 16:40:25 +00:00
};
2022-01-14 19:55:28 +00:00
export type User = {
id: string;
email: string;
firstName: string;
lastName: string;
};