Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 959 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 959 Bytes

abstract-pkce

Abstract PKCE service factory with ability to extend it with any challenge getter and random values api

About

This is the base abstract package, not expected to be used directly in final application.

Created as base abstract PKCE challenge & verifier generation implementation to be extended by next three packages with end implementations:

  • simple-pkce - simple PKCE implementation for node. Native crypto module used, KISS and DRY, ready for usage.
  • simple-pkce-browser - for all browsers, including legacy ones, with leightweight polyfills for SHA256 and generator of random bytes
  • simple-pkce-web-crypto - for modern browsers, using Web Crypto API for both random bytes generating and SHA256 hashing