2.0.0 • Published 6 months ago

@olibm/jwks-verify v2.0.0

Weekly downloads
46
License
MIT
Repository
github
Last release
6 months ago

@olibm/jwks-verify

Example

import { jwksVerify } from '@olibm/jwks-verify'

async function example() {
    const audience = 'my-project-id';
    const issuer = `https://securetoken.google.com/${audience}`;
    const keyServer = 'https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com';
    const token = '...some JWT issued by Google';
    const verifiedClaims = await jwksVerify(issuer, audience, keyServer, token)
}
2.0.0

6 months ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.2.0

4 years ago

0.1.0

4 years ago