Nightly Pocket Measurement

    jwks-source

    1.0.0 • Public • Published

    Build Status npm version

    jwks-source

    Module for retrieving JWKS

    Features

    • Synchronous and asynchronous methods
    • Node.js 12.x compatible, works in AWS Lambda environments

    Installation

    Install via npm.

    npm install jwks-source --save
    

    Getting Started

    const { Provider } = require( 'jwks-source' );
     
    const jwks = Provider.AWSCognito({
     
            userPoolId = 'us-east-1_ZLPZ8Z7yS',
            region: 'us-east-1'
        }).getAsync();
     
    // jwks.keys = [ { jws instance}, ... ]
     
    // jwks.id( kid ) // to get with a specific id

    Feedback

    We'd love to get feedback on how to make this tool better. Feel free to contact us at feedback@vandium.io

    License

    BSD-3-Clause

    Install

    npm i jwks-source

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    BSD-3-Clause

    Unpacked Size

    6.54 kB

    Total Files

    12

    Last publish

    Collaborators

    • richardhyatt