Skip to content

JSON Schema and TypeScript Types for OpenID Provider Metadata.

License

Notifications You must be signed in to change notification settings

JonathanWilbur/openid-provider-metadata

Repository files navigation

OpenID Provider Metadata Schema and Types

JSON Schema (both as a JavaScript Object and as JSON) and TypeScript interfaces for representing OpenID Provider Metadata, as described here.

Recreate

I am not going to implement scripts or automation for this, because it will probably not going to change very often.

  1. Compile index.ts to index.js: tsc ./source/index.ts.
  2. Convert index.js to index.json: node -e 'console.log(JSON.stringify(require(\"./source/index.js\").default));' > .\source\index.json.
  3. Convert index.json to index.d.ts: node ./tools/compileInterfaces.js.

About

JSON Schema and TypeScript Types for OpenID Provider Metadata.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published