wsfed-caep-nodejs
    Preparing search index...

    wsfed-caep-nodejs

    wsfed-caep-nodejs: a server-side WS-Federation relying party that accepts SAML 2.0 assertions, and a CAEP and RISC receiver that ends its sessions.

    import { RelyingParty } from 'wsfed-caep-nodejs';

    const rp = await RelyingParty.fromFile('wsfed.json');
    const request = rp.login({ relayState: '/' }); // keep request.id with the browser, then redirect to request.url
    const who = await rp.handleReply({ method, url, body }, { requestId }); // at the reply URL
    MemoryReplayCache
    MemorySessionIndex
    RelyingParty
    SignalsReceiver
    WsFedError
    IdpMetadata
    KeyPair
    KeyPairOptions
    LoginOptions
    LoginRequest
    RelyingPartyOptions
    ReplayCache
    ReplyOptions
    ReplyRequest
    ResolvedConfig
    SessionIndex
    SignalEvent
    SignalsReceiverOptions
    SubjectRef
    TrackedSession
    WsFedConfig
    WsFedLogin
    WsFedErrorCode
    CAEP_EVENTS
    DEFAULT_ENDING_EVENTS
    DEFAULT_EVENTS_REQUESTED
    DEFAULT_SUBJECT_ATTRIBUTE
    EVENT
    RISC_EVENTS
    createSelfSignedKeyPair
    readConfigFile
    resolveConfig
    subjectOf
    trackedFrom