feat(planning): grille hebdomadaire complète avec API et filtres
- Connexion API via proxy Angular (résolution CORS, base path /api) - Import CSS ng-zorro global pour les modales et composants - Filtres Camion/Show câblés sur l'affichage de la grille - Camions affichés via TrucksService (linkés au show du même créneau) - Panneau de détails : spectacles + camions du jour sélectionné - Modale de création de spectacle stylisée avec fond et centrage - Positionnement précis des events à la minute dans leur créneau - Auto-scroll vers l'heure courante au chargement - Ligne "maintenant" sur la colonne du jour actuel - Régénération des services OpenAPI (nouveaux noms de types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+501
-124
@@ -1,137 +1,398 @@
|
||||
import * as z from 'zod/v4';
|
||||
/**
|
||||
* Reusable URL validation that disallows javascript: scheme
|
||||
*/
|
||||
export declare const SafeUrlSchema: z.ZodURL;
|
||||
import { z } from "zod";
|
||||
/**
|
||||
* RFC 9728 OAuth Protected Resource Metadata
|
||||
*/
|
||||
export declare const OAuthProtectedResourceMetadataSchema: z.ZodObject<{
|
||||
resource: z.ZodString;
|
||||
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
||||
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
jwks_uri: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
bearer_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
resource_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
bearer_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
resource_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
resource_name: z.ZodOptional<z.ZodString>;
|
||||
resource_documentation: z.ZodOptional<z.ZodString>;
|
||||
resource_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
resource_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
tls_client_certificate_bound_access_tokens: z.ZodOptional<z.ZodBoolean>;
|
||||
authorization_details_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
dpop_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
authorization_details_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
dpop_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
dpop_bound_access_tokens_required: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.core.$loose>;
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
resource: z.ZodString;
|
||||
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
jwks_uri: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
bearer_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
resource_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
resource_name: z.ZodOptional<z.ZodString>;
|
||||
resource_documentation: z.ZodOptional<z.ZodString>;
|
||||
resource_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
resource_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
tls_client_certificate_bound_access_tokens: z.ZodOptional<z.ZodBoolean>;
|
||||
authorization_details_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
dpop_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
dpop_bound_access_tokens_required: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
resource: z.ZodString;
|
||||
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
jwks_uri: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
bearer_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
resource_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
resource_name: z.ZodOptional<z.ZodString>;
|
||||
resource_documentation: z.ZodOptional<z.ZodString>;
|
||||
resource_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
resource_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
tls_client_certificate_bound_access_tokens: z.ZodOptional<z.ZodBoolean>;
|
||||
authorization_details_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
dpop_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
dpop_bound_access_tokens_required: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.ZodTypeAny, "passthrough">>;
|
||||
/**
|
||||
* RFC 8414 OAuth 2.0 Authorization Server Metadata
|
||||
*/
|
||||
export declare const OAuthMetadataSchema: z.ZodObject<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodURL;
|
||||
token_endpoint: z.ZodURL;
|
||||
registration_endpoint: z.ZodOptional<z.ZodURL>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
response_types_supported: z.ZodArray<z.ZodString>;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
service_documentation: z.ZodOptional<z.ZodURL>;
|
||||
revocation_endpoint: z.ZodOptional<z.ZodURL>;
|
||||
revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint: z.ZodOptional<z.ZodString>;
|
||||
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.core.$loose>;
|
||||
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint: z.ZodOptional<z.ZodString>;
|
||||
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint: z.ZodOptional<z.ZodString>;
|
||||
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
}, z.ZodTypeAny, "passthrough">>;
|
||||
/**
|
||||
* OpenID Connect Discovery 1.0 Provider Metadata
|
||||
* see: https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata
|
||||
*/
|
||||
export declare const OpenIdProviderMetadataSchema: z.ZodObject<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodURL;
|
||||
token_endpoint: z.ZodURL;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodURL>;
|
||||
jwks_uri: z.ZodURL;
|
||||
registration_endpoint: z.ZodOptional<z.ZodURL>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
response_types_supported: z.ZodArray<z.ZodString>;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString>;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_uri_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
require_request_uri_registration: z.ZodOptional<z.ZodBoolean>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodURL>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodURL>;
|
||||
client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.core.$loose>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_uri_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
require_request_uri_registration: z.ZodOptional<z.ZodBoolean>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_uri_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
require_request_uri_registration: z.ZodOptional<z.ZodBoolean>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
}, z.ZodTypeAny, "passthrough">>;
|
||||
/**
|
||||
* OpenID Connect Discovery metadata that may include OAuth 2.0 fields
|
||||
* This schema represents the real-world scenario where OIDC providers
|
||||
* return a mix of OpenID Connect and OAuth 2.0 metadata fields
|
||||
*/
|
||||
export declare const OpenIdProviderDiscoveryMetadataSchema: z.ZodObject<{
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
export declare const OpenIdProviderDiscoveryMetadataSchema: z.ZodObject<z.objectUtil.extendShape<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodURL;
|
||||
token_endpoint: z.ZodURL;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodURL>;
|
||||
jwks_uri: z.ZodURL;
|
||||
registration_endpoint: z.ZodOptional<z.ZodURL>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
response_types_supported: z.ZodArray<z.ZodString>;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString>;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_uri_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
require_request_uri_registration: z.ZodOptional<z.ZodBoolean>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodURL>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodURL>;
|
||||
client_id_metadata_document_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
}, z.core.$strip>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
}, Pick<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint: z.ZodOptional<z.ZodString>;
|
||||
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
}, "code_challenge_methods_supported">>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_uri_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
require_request_uri_registration: z.ZodOptional<z.ZodBoolean>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
}, Pick<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint: z.ZodOptional<z.ZodString>;
|
||||
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
}, "code_challenge_methods_supported">>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
userinfo_endpoint: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
acr_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
subject_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
||||
id_token_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
id_token_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
userinfo_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
request_object_encryption_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
display_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claim_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
claims_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
ui_locales_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
claims_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
request_uri_parameter_supported: z.ZodOptional<z.ZodBoolean>;
|
||||
require_request_uri_registration: z.ZodOptional<z.ZodBoolean>;
|
||||
op_policy_uri: z.ZodOptional<z.ZodString>;
|
||||
op_tos_uri: z.ZodOptional<z.ZodString>;
|
||||
}, Pick<{
|
||||
issuer: z.ZodString;
|
||||
authorization_endpoint: z.ZodString;
|
||||
token_endpoint: z.ZodString;
|
||||
registration_endpoint: z.ZodOptional<z.ZodString>;
|
||||
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types_supported: z.ZodArray<z.ZodString, "many">;
|
||||
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
service_documentation: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint: z.ZodOptional<z.ZodString>;
|
||||
revocation_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
revocation_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint: z.ZodOptional<z.ZodString>;
|
||||
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
}, "code_challenge_methods_supported">>, z.ZodTypeAny, "passthrough">>;
|
||||
/**
|
||||
* OAuth 2.1 token response
|
||||
*/
|
||||
@@ -139,10 +400,24 @@ export declare const OAuthTokensSchema: z.ZodObject<{
|
||||
access_token: z.ZodString;
|
||||
id_token: z.ZodOptional<z.ZodString>;
|
||||
token_type: z.ZodString;
|
||||
expires_in: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
||||
expires_in: z.ZodOptional<z.ZodNumber>;
|
||||
scope: z.ZodOptional<z.ZodString>;
|
||||
refresh_token: z.ZodOptional<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
access_token: string;
|
||||
token_type: string;
|
||||
id_token?: string | undefined;
|
||||
expires_in?: number | undefined;
|
||||
scope?: string | undefined;
|
||||
refresh_token?: string | undefined;
|
||||
}, {
|
||||
access_token: string;
|
||||
token_type: string;
|
||||
id_token?: string | undefined;
|
||||
expires_in?: number | undefined;
|
||||
scope?: string | undefined;
|
||||
refresh_token?: string | undefined;
|
||||
}>;
|
||||
/**
|
||||
* OAuth 2.1 error response
|
||||
*/
|
||||
@@ -150,32 +425,70 @@ export declare const OAuthErrorResponseSchema: z.ZodObject<{
|
||||
error: z.ZodString;
|
||||
error_description: z.ZodOptional<z.ZodString>;
|
||||
error_uri: z.ZodOptional<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
/**
|
||||
* Optional version of SafeUrlSchema that allows empty string for retrocompatibility on tos_uri and logo_uri
|
||||
*/
|
||||
export declare const OptionalSafeUrlSchema: z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>]>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
error: string;
|
||||
error_description?: string | undefined;
|
||||
error_uri?: string | undefined;
|
||||
}, {
|
||||
error: string;
|
||||
error_description?: string | undefined;
|
||||
error_uri?: string | undefined;
|
||||
}>;
|
||||
/**
|
||||
* RFC 7591 OAuth 2.0 Dynamic Client Registration metadata
|
||||
*/
|
||||
export declare const OAuthClientMetadataSchema: z.ZodObject<{
|
||||
redirect_uris: z.ZodArray<z.ZodURL>;
|
||||
redirect_uris: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
||||
token_endpoint_auth_method: z.ZodOptional<z.ZodString>;
|
||||
grant_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
response_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
client_name: z.ZodOptional<z.ZodString>;
|
||||
client_uri: z.ZodOptional<z.ZodURL>;
|
||||
logo_uri: z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>]>;
|
||||
client_uri: z.ZodOptional<z.ZodString>;
|
||||
logo_uri: z.ZodOptional<z.ZodString>;
|
||||
scope: z.ZodOptional<z.ZodString>;
|
||||
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
tos_uri: z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>]>;
|
||||
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
tos_uri: z.ZodOptional<z.ZodString>;
|
||||
policy_uri: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodOptional<z.ZodURL>;
|
||||
jwks_uri: z.ZodOptional<z.ZodString>;
|
||||
jwks: z.ZodOptional<z.ZodAny>;
|
||||
software_id: z.ZodOptional<z.ZodString>;
|
||||
software_version: z.ZodOptional<z.ZodString>;
|
||||
software_statement: z.ZodOptional<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
redirect_uris: string[];
|
||||
jwks_uri?: string | undefined;
|
||||
scope?: string | undefined;
|
||||
token_endpoint_auth_method?: string | undefined;
|
||||
grant_types?: string[] | undefined;
|
||||
response_types?: string[] | undefined;
|
||||
client_name?: string | undefined;
|
||||
client_uri?: string | undefined;
|
||||
logo_uri?: string | undefined;
|
||||
contacts?: string[] | undefined;
|
||||
tos_uri?: string | undefined;
|
||||
policy_uri?: string | undefined;
|
||||
jwks?: any;
|
||||
software_id?: string | undefined;
|
||||
software_version?: string | undefined;
|
||||
software_statement?: string | undefined;
|
||||
}, {
|
||||
redirect_uris: string[];
|
||||
jwks_uri?: string | undefined;
|
||||
scope?: string | undefined;
|
||||
token_endpoint_auth_method?: string | undefined;
|
||||
grant_types?: string[] | undefined;
|
||||
response_types?: string[] | undefined;
|
||||
client_name?: string | undefined;
|
||||
client_uri?: string | undefined;
|
||||
logo_uri?: string | undefined;
|
||||
contacts?: string[] | undefined;
|
||||
tos_uri?: string | undefined;
|
||||
policy_uri?: string | undefined;
|
||||
jwks?: any;
|
||||
software_id?: string | undefined;
|
||||
software_version?: string | undefined;
|
||||
software_statement?: string | undefined;
|
||||
}>;
|
||||
/**
|
||||
* RFC 7591 OAuth 2.0 Dynamic Client Registration client information
|
||||
*/
|
||||
@@ -184,46 +497,111 @@ export declare const OAuthClientInformationSchema: z.ZodObject<{
|
||||
client_secret: z.ZodOptional<z.ZodString>;
|
||||
client_id_issued_at: z.ZodOptional<z.ZodNumber>;
|
||||
client_secret_expires_at: z.ZodOptional<z.ZodNumber>;
|
||||
}, z.core.$strip>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
client_id: string;
|
||||
client_secret?: string | undefined;
|
||||
client_id_issued_at?: number | undefined;
|
||||
client_secret_expires_at?: number | undefined;
|
||||
}, {
|
||||
client_id: string;
|
||||
client_secret?: string | undefined;
|
||||
client_id_issued_at?: number | undefined;
|
||||
client_secret_expires_at?: number | undefined;
|
||||
}>;
|
||||
/**
|
||||
* RFC 7591 OAuth 2.0 Dynamic Client Registration full response (client information plus metadata)
|
||||
*/
|
||||
export declare const OAuthClientInformationFullSchema: z.ZodObject<{
|
||||
redirect_uris: z.ZodArray<z.ZodURL>;
|
||||
export declare const OAuthClientInformationFullSchema: z.ZodObject<z.objectUtil.extendShape<{
|
||||
redirect_uris: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
||||
token_endpoint_auth_method: z.ZodOptional<z.ZodString>;
|
||||
grant_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
response_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
grant_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
response_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
client_name: z.ZodOptional<z.ZodString>;
|
||||
client_uri: z.ZodOptional<z.ZodURL>;
|
||||
logo_uri: z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>]>;
|
||||
client_uri: z.ZodOptional<z.ZodString>;
|
||||
logo_uri: z.ZodOptional<z.ZodString>;
|
||||
scope: z.ZodOptional<z.ZodString>;
|
||||
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
||||
tos_uri: z.ZodUnion<[z.ZodOptional<z.ZodURL>, z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>]>;
|
||||
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
||||
tos_uri: z.ZodOptional<z.ZodString>;
|
||||
policy_uri: z.ZodOptional<z.ZodString>;
|
||||
jwks_uri: z.ZodOptional<z.ZodURL>;
|
||||
jwks_uri: z.ZodOptional<z.ZodString>;
|
||||
jwks: z.ZodOptional<z.ZodAny>;
|
||||
software_id: z.ZodOptional<z.ZodString>;
|
||||
software_version: z.ZodOptional<z.ZodString>;
|
||||
software_statement: z.ZodOptional<z.ZodString>;
|
||||
}, {
|
||||
client_id: z.ZodString;
|
||||
client_secret: z.ZodOptional<z.ZodString>;
|
||||
client_id_issued_at: z.ZodOptional<z.ZodNumber>;
|
||||
client_secret_expires_at: z.ZodOptional<z.ZodNumber>;
|
||||
}, z.core.$strip>;
|
||||
}>, "strip", z.ZodTypeAny, {
|
||||
redirect_uris: string[];
|
||||
client_id: string;
|
||||
jwks_uri?: string | undefined;
|
||||
scope?: string | undefined;
|
||||
token_endpoint_auth_method?: string | undefined;
|
||||
grant_types?: string[] | undefined;
|
||||
response_types?: string[] | undefined;
|
||||
client_name?: string | undefined;
|
||||
client_uri?: string | undefined;
|
||||
logo_uri?: string | undefined;
|
||||
contacts?: string[] | undefined;
|
||||
tos_uri?: string | undefined;
|
||||
policy_uri?: string | undefined;
|
||||
jwks?: any;
|
||||
software_id?: string | undefined;
|
||||
software_version?: string | undefined;
|
||||
software_statement?: string | undefined;
|
||||
client_secret?: string | undefined;
|
||||
client_id_issued_at?: number | undefined;
|
||||
client_secret_expires_at?: number | undefined;
|
||||
}, {
|
||||
redirect_uris: string[];
|
||||
client_id: string;
|
||||
jwks_uri?: string | undefined;
|
||||
scope?: string | undefined;
|
||||
token_endpoint_auth_method?: string | undefined;
|
||||
grant_types?: string[] | undefined;
|
||||
response_types?: string[] | undefined;
|
||||
client_name?: string | undefined;
|
||||
client_uri?: string | undefined;
|
||||
logo_uri?: string | undefined;
|
||||
contacts?: string[] | undefined;
|
||||
tos_uri?: string | undefined;
|
||||
policy_uri?: string | undefined;
|
||||
jwks?: any;
|
||||
software_id?: string | undefined;
|
||||
software_version?: string | undefined;
|
||||
software_statement?: string | undefined;
|
||||
client_secret?: string | undefined;
|
||||
client_id_issued_at?: number | undefined;
|
||||
client_secret_expires_at?: number | undefined;
|
||||
}>;
|
||||
/**
|
||||
* RFC 7591 OAuth 2.0 Dynamic Client Registration error response
|
||||
*/
|
||||
export declare const OAuthClientRegistrationErrorSchema: z.ZodObject<{
|
||||
error: z.ZodString;
|
||||
error_description: z.ZodOptional<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
error: string;
|
||||
error_description?: string | undefined;
|
||||
}, {
|
||||
error: string;
|
||||
error_description?: string | undefined;
|
||||
}>;
|
||||
/**
|
||||
* RFC 7009 OAuth 2.0 Token Revocation request
|
||||
*/
|
||||
export declare const OAuthTokenRevocationRequestSchema: z.ZodObject<{
|
||||
token: z.ZodString;
|
||||
token_type_hint: z.ZodOptional<z.ZodString>;
|
||||
}, z.core.$strip>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
token: string;
|
||||
token_type_hint?: string | undefined;
|
||||
}, {
|
||||
token: string;
|
||||
token_type_hint?: string | undefined;
|
||||
}>;
|
||||
export type OAuthMetadata = z.infer<typeof OAuthMetadataSchema>;
|
||||
export type OpenIdProviderMetadata = z.infer<typeof OpenIdProviderMetadataSchema>;
|
||||
export type OpenIdProviderDiscoveryMetadata = z.infer<typeof OpenIdProviderDiscoveryMetadataSchema>;
|
||||
@@ -232,7 +610,6 @@ export type OAuthErrorResponse = z.infer<typeof OAuthErrorResponseSchema>;
|
||||
export type OAuthClientMetadata = z.infer<typeof OAuthClientMetadataSchema>;
|
||||
export type OAuthClientInformation = z.infer<typeof OAuthClientInformationSchema>;
|
||||
export type OAuthClientInformationFull = z.infer<typeof OAuthClientInformationFullSchema>;
|
||||
export type OAuthClientInformationMixed = OAuthClientInformation | OAuthClientInformationFull;
|
||||
export type OAuthClientRegistrationError = z.infer<typeof OAuthClientRegistrationErrorSchema>;
|
||||
export type OAuthTokenRevocationRequest = z.infer<typeof OAuthTokenRevocationRequestSchema>;
|
||||
export type OAuthProtectedResourceMetadata = z.infer<typeof OAuthProtectedResourceMetadataSchema>;
|
||||
|
||||
Reference in New Issue
Block a user