forked from natevecc/samlify
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.ts
27 lines (24 loc) · 891 Bytes
/
index.ts
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
// version <= 1.25
import IdentityProvider, { IdentityProvider as IdentityProviderInstance } from './src/entity-idp';
import ServiceProvider, { ServiceProvider as ServiceProviderInstance } from './src/entity-sp';
export { default as IdPMetadata } from './src/metadata-idp';
export { default as SPMetadata } from './src/metadata-sp';
export { default as Utility } from './src/utility';
export { default as SamlLib } from './src/libsaml';
// roadmap
// new name convention in version >= 3.0
import * as Constants from './src/urn';
import * as Extractor from './src/extractor';
// exposed methods for customising samlify
import { setSchemaValidator } from './src/api';
export {
Constants,
Extractor,
// temp: resolve the conflict after version >= 3.0
IdentityProvider,
IdentityProviderInstance,
ServiceProvider,
ServiceProviderInstance,
// set context
setSchemaValidator
};