Socket
Socket
Sign inDemoInstall

oauth4webapi

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oauth4webapi - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

14

build/index.d.ts

@@ -1,7 +0,7 @@

declare type JsonObject = {
type JsonObject = {
[Key in string]?: JsonValue;
};
declare type JsonArray = JsonValue[];
declare type JsonPrimitive = string | number | boolean | null;
declare type JsonValue = JsonPrimitive | JsonObject | JsonArray;
type JsonArray = JsonValue[];
type JsonPrimitive = string | number | boolean | null;
type JsonValue = JsonPrimitive | JsonObject | JsonArray;
/**

@@ -44,3 +44,3 @@ * Interface to pass an asymmetric private key and, optionally, its associated JWK Key ID to be

*/
export declare type ClientAuthenticationMethod = 'client_secret_basic' | 'client_secret_post' | 'private_key_jwt' | 'none';
export type ClientAuthenticationMethod = 'client_secret_basic' | 'client_secret_post' | 'private_key_jwt' | 'none';
/**

@@ -88,3 +88,3 @@ * Supported JWS `alg` Algorithm identifiers.

*/
export declare type JWSAlgorithm = 'PS256' | 'ES256' | 'RS256' | 'EdDSA';
export type JWSAlgorithm = 'PS256' | 'ES256' | 'RS256' | 'EdDSA';
/**

@@ -1019,3 +1019,3 @@ * Authorization Server Metadata

export declare function validateAuthResponse(as: AuthorizationServer, client: Client, parameters: URLSearchParams | URL, expectedState?: string | typeof expectNoState | typeof skipStateCheck): CallbackParameters | OAuth2Error;
declare type ReturnTypes = TokenEndpointResponse | OAuth2TokenEndpointResponse | OpenIDTokenEndpointResponse | ClientCredentialsGrantResponse | DeviceAuthorizationResponse | IntrospectionResponse | OAuth2Error | PushedAuthorizationResponse | URLSearchParams | UserInfoResponse;
type ReturnTypes = TokenEndpointResponse | OAuth2TokenEndpointResponse | OpenIDTokenEndpointResponse | ClientCredentialsGrantResponse | DeviceAuthorizationResponse | IntrospectionResponse | OAuth2Error | PushedAuthorizationResponse | URLSearchParams | UserInfoResponse;
export interface DeviceAuthorizationRequestOptions extends HttpRequestOptions, AuthenticatedRequestOptions {

@@ -1022,0 +1022,0 @@ }

{
"name": "oauth4webapi",
"version": "2.0.1",
"version": "2.0.2",
"description": "OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes",

@@ -5,0 +5,0 @@ "keywords": [

@@ -42,3 +42,3 @@ # OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes

```js
import * as oauth2 from 'https://deno.land/x/oauth4webapi@v2.0.1/mod.ts'
import * as oauth2 from 'https://deno.land/x/oauth4webapi@v2.0.2/mod.ts'
```

@@ -45,0 +45,0 @@

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