mocksaml/types/index.ts

33 lines
556 B
TypeScript
Raw 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 = {
sso_url: string;
entity_id: string;
};
export type App = {
id: string;
name: string;
description?: string | null;
certificate: string;
} & 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 = {
RelayState: string;
SAMLRequest: SAMLRequest;
};