iya-sts
    Preparing search index...

    Variable matchPath

    matchPath: (
        pathname: any,
    ) =>
        | { form: string; realm: any; rest: string }
        | { realm: any; rest: string } = matchPath

    Type Declaration

      • (
            pathname: any,
        ): { form: string; realm: any; rest: string } | { realm: any; rest: string }
      • Finds the realm a path opens with, by its prefix or in the EST label position.

        An undefined realm answers null, so the path falls through to express's 404.

        Parameters

        • pathname: any

          the request path

        Returns { form: string; realm: any; rest: string } | { realm: any; rest: string }

        { realm, rest } (with form: 'est-label' for the EST form), or null