2.0.0 • Published 2 years ago

@olibm/jwks-verify v2.0.0

Weekly downloads
46
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.0

5 years ago

0.1.0

5 years ago