oauth4webapi
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118665
1