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

@types/openid-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/openid-client - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

53

openid-client/index.d.ts
// Type definitions for openid-client 3.1
// Project: https://github.com/panva/node-openid-client
// Definitions by: ulrichb <https://github.com/ulrichb>
// Brandon Shelton <https://github.com/YangusKhan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -9,3 +10,3 @@ // TypeScript Version: 3.0

import { IncomingMessage } from "http";
import { IncomingMessage } from 'http';

@@ -16,5 +17,26 @@ // https://github.com/panva/node-openid-client/tree/master/docs#issuer

readonly issuer?: string;
readonly authorization_endpoint?: string;
readonly userinfo_endpoint?: string;
readonly token_endpoint?: string;
readonly jwks_uri?: string;
readonly revocation_endpoint?: string;
readonly introspection_endpoint?: string;
readonly end_session_endpoint?: string;
readonly registration_endpoint?: string;
readonly token_endpoint_auth_methods_supported?: ReadonlyArray<string>;
readonly token_endpoint_auth_signing_alg_values_supported?: ReadonlyArray<string>;
readonly introspection_endpoint_auth_methods_supported?: ReadonlyArray<string>;
readonly introspection_endpoint_auth_signing_alg_values_supported?: ReadonlyArray<string>;
readonly revocation_endpoint_auth_methods_supported?: ReadonlyArray<string>;
readonly revocation_endpoint_auth_signing_alg_values_supported?: ReadonlyArray<string>;
readonly mtls_endpoint_aliases?: {
token_endpoint?: string;
userinfo_endpoint?: string;
revocation_endpoint?: string;
introspection_endpoint?: string;
};
}
export class Issuer {
constructor(metadata?: IssuerMetadata);
static discover(issuer: string): Promise<Issuer>;

@@ -56,3 +78,3 @@

export class Client {
constructor(metadata: ClientMetadata);
constructor(metadata?: ClientMetadata);

@@ -67,9 +89,13 @@ readonly metadata: ClientMetadata;

callback(redirectUri: string, parameters: {}, checks?: {
readonly response_type?: string;
readonly state?: string;
readonly nonce?: string;
readonly code_verifier?: string;
readonly max_age?: number;
}): Promise<TokenSet>;
callback(
redirectUri: string,
parameters: {},
checks?: {
readonly response_type?: string;
readonly state?: string;
readonly nonce?: string;
readonly code_verifier?: string;
readonly max_age?: number;
}
): Promise<TokenSet>;

@@ -79,8 +105,11 @@ userinfo(accessToken: string | TokenSet): Promise<{ readonly [name: string]: {} | null | undefined }>;

grant(body: {
readonly grant_type: "authorization_code" | "client_credentials" | "password" | "refresh_token" | string;
readonly grant_type: 'authorization_code' | 'client_credentials' | 'password' | 'refresh_token' | string;
readonly [name: string]: string | undefined;
}): Promise<TokenSet>;
introspect(token: string, tokenTypeHint?: string, extras?: { readonly introspectBody?: {} }):
Promise<{ readonly [name: string]: {} | null | undefined }>;
introspect(
token: string,
tokenTypeHint?: string,
extras?: { readonly introspectBody?: object }
): Promise<{ readonly [name: string]: {} | null | undefined }>;
}

@@ -87,0 +116,0 @@

{
"name": "@types/openid-client",
"version": "3.1.1",
"version": "3.1.2",
"description": "TypeScript definitions for openid-client",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "ulrichb"
},
{
"name": "Brandon Shelton",
"url": "https://github.com/YangusKhan",
"githubUsername": "YangusKhan"
}

@@ -25,4 +30,4 @@ ],

},
"typesPublisherContentHash": "849fd043fd97a04539f6efcf68d8bf0e159ca34a2974021379674e21ee6e472d",
"typesPublisherContentHash": "2df9f0e4195412cf8ba2bac398e1394073327f61cbfcd6f755d7c38f9ac82b78",
"typeScriptVersion": "3.0"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for openid-client ( https://github.com/panva/node-openid-client ).
This package contains type definitions for openid-client (https://github.com/panva/node-openid-client).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Fri, 17 May 2019 16:18:30 GMT
* Last updated: Wed, 26 Jun 2019 17:12:44 GMT
* Dependencies: @types/node

@@ -18,2 +18,2 @@ * Global values: none

# Credits
These definitions were written by ulrichb <https://github.com/ulrichb>.
These definitions were written by ulrichb <https://github.com/ulrichb>, and Brandon Shelton <https://github.com/YangusKhan>.
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