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

@animo-id/oauth2

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@animo-id/oauth2 - npm Package Compare versions

Comparing version 0.0.2-alpha-20241107082629 to 0.0.2-alpha-20241107122357

18

dist/index.d.ts
import * as v from 'valibot';
import { HttpMethod, FetchHeaders, ContentType, Fetch, BaseSchema, FetchResponse, FetchRequestInit } from '@animo-id/oauth2-utils';
export { HttpMethod } from '@animo-id/oauth2-utils';
export { HttpMethod, Oid4vcTsConfig, getGlobalConfig, setGlobalConfig } from '@animo-id/oauth2-utils';

@@ -37,3 +37,3 @@ declare enum Oauth2ErrorCodes {

readonly code: v.OptionalSchema<v.StringSchema<undefined>, never>;
readonly redirect_uri: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>, never>;
readonly redirect_uri: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>;
readonly code_verifier: v.OptionalSchema<v.StringSchema<undefined>, never>;

@@ -77,15 +77,15 @@ readonly grant_type: v.UnionSchema<[v.LiteralSchema<"urn:ietf:params:oauth:grant-type:pre-authorized_code", undefined>, v.LiteralSchema<"authorization_code", undefined>, v.StringSchema<undefined>], undefined>;

declare const vAuthorizationServerMetadata: v.SchemaWithPipe<[v.LooseObjectSchema<{
readonly issuer: v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>;
readonly token_endpoint: v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>;
readonly issuer: v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>;
readonly token_endpoint: v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>;
readonly token_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
readonly authorization_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>, never>;
readonly jwks_uri: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>, never>;
readonly authorization_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>;
readonly jwks_uri: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>;
readonly code_challenge_methods_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
readonly dpop_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, never>;
readonly require_pushed_authorization_requests: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
readonly pushed_authorization_request_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>, never>;
readonly introspection_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>, never>;
readonly pushed_authorization_request_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>;
readonly introspection_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>;
readonly introspection_endpoint_auth_methods_supported: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.LiteralSchema<"client_secret_jwt", undefined>, v.LiteralSchema<"private_key_jwt", undefined>, v.StringSchema<undefined>], undefined>, undefined>, never>;
readonly introspection_endpoint_auth_signing_alg_values_supported: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, "alg value may not be 'none'">]>, undefined>, never>;
readonly authorization_challenge_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.StartsWithAction<string, "https://", undefined>]>, never>;
readonly authorization_challenge_endpoint: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UrlAction<string, undefined>, v.CheckAction<string, "url must be an https:// url">]>, never>;
readonly 'pre-authorized_grant_anonymous_access_supported': v.OptionalSchema<v.BooleanSchema<undefined>, never>;

@@ -92,0 +92,0 @@ }, undefined>, v.CheckAction<{

{
"name": "@animo-id/oauth2",
"version": "0.0.2-alpha-20241107082629",
"version": "0.0.2-alpha-20241107122357",
"exports": {

@@ -18,3 +18,3 @@ ".": {

"valibot": "^0.42.1",
"@animo-id/oauth2-utils": "0.0.2-alpha-20241107082629"
"@animo-id/oauth2-utils": "0.0.2-alpha-20241107122357"
},

@@ -21,0 +21,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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