Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@upandgo/verify-cognito-token

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@upandgo/verify-cognito-token - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

dist/index.d.ts

@@ -0,1 +1,6 @@

interface CognitoConfig {
region: 'eu-west-1' | 'eu-west-3';
userPoolId: string;
userPoolWebClientId: string;
}
interface ClaimVerifyResult {

@@ -9,2 +14,3 @@ readonly username: string;

export default class TokenVerificator {
constructor(cognitoConfig: CognitoConfig);
private cognitoConfig;

@@ -11,0 +17,0 @@ private cacheKeys?;

3

dist/index.js

@@ -33,2 +33,5 @@ "use strict";

class TokenVerificator {
constructor(cognitoConfig) {
this.cognitoConfig = cognitoConfig;
}
async getPublicKeys(cognitoIssuer) {

@@ -35,0 +38,0 @@ if (!this.cacheKeys) {

2

package.json
{
"name": "@upandgo/verify-cognito-token",
"version": "1.0.0",
"version": "1.0.1",
"description": "custom token verification for uag",

@@ -5,0 +5,0 @@ "repository": "git@gitlab.com:agence-upandgo/librairies/verify-cognito-token.git",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc