UNPKG

@sphereon/did-auth-siop

Version:

Self Issued OpenID V2 (SIOPv2) and OpenID 4 Verifiable Presentations (OID4VP)

1,400 lines (1,399 loc) 70.7 kB
export declare const AuthorizationResponseOptsSchemaObj: { $id: string; $schema: string; $ref: string; definitions: { AuthorizationResponseOpts: { type: string; properties: { responseURI: { type: string; }; responseURIType: { $ref: string; }; registration: { $ref: string; }; version: { $ref: string; }; audience: { type: string; }; createJwtCallback: { $ref: string; }; jwtIssuer: { $ref: string; }; responseMode: { $ref: string; }; responseType: { type: string; items: { $ref: string; }; minItems: number; maxItems: number; }; expiresIn: { type: string; }; accessToken: { type: string; }; tokenType: { type: string; }; refreshToken: { type: string; }; presentationExchange: { $ref: string; }; dcqlResponse: { $ref: string; }; isFirstParty: { type: string; }; }; required: string[]; additionalProperties: boolean; }; ResponseURIType: { type: string; enum: string[]; }; ResponseRegistrationOpts: { anyOf: ({ type: string; properties: { passBy: { $ref: string; }; reference_uri: { type: string; }; targets: { $ref: string; }; id_token_encrypted_response_alg: { $ref: string; }; id_token_encrypted_response_enc: { $ref: string; }; authorizationEndpoint: { anyOf: ({ $ref: string; type?: undefined; } | { type: string; $ref?: undefined; })[]; }; issuer: { anyOf: ({ $ref: string; type?: undefined; } | { type: string; $ref?: undefined; })[]; }; responseTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; scopesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; subjectTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; requestObjectSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; subject_syntax_types_supported: { type: string; items: { type: string; }; }; tokenEndpoint: { type: string; }; userinfoEndpoint: { type: string; }; jwksUri: { type: string; }; registrationEndpoint: { type: string; }; responseModesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; grantTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; acrValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; userinfoSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; userinfoEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; userinfoEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; requestObjectEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; requestObjectEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; tokenEndpointAuthMethodsSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; tokenEndpointAuthSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; displayValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; claimTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; claimsSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; serviceDocumentation: { type: string; }; claimsLocalesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; uiLocalesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; claimsParameterSupported: { type: string; }; requestParameterSupported: { type: string; }; requestUriParameterSupported: { type: string; }; requireRequestUriRegistration: { type: string; }; opPolicyUri: { type: string; }; opTosUri: { type: string; }; client_id: { type: string; }; redirectUris: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; clientName: { type: string; }; clientUri: { type: string; }; scope: { type: string; }; contacts: { type: string; items: { type: string; }; }; tosUri: { type: string; }; policyUri: { type: string; }; jwks: { $ref: string; }; softwareId: { type: string; }; softwareVersion: { type: string; }; tokenEndpointAuthMethod: { type: string; }; applicationType: { type: string; }; responseTypes: { type: string; }; grantTypes: { type: string; }; vpFormats: { $ref: string; }; logo_uri: { type: string; }; clientPurpose: { type: string; }; idTokenTypesSupported?: undefined; vpFormatsSupported?: undefined; }; required: string[]; } | { type: string; properties: { passBy: { $ref: string; }; reference_uri: { type: string; }; targets: { $ref: string; }; id_token_encrypted_response_alg: { $ref: string; }; id_token_encrypted_response_enc: { $ref: string; }; authorizationEndpoint: { anyOf: ({ $ref: string; type?: undefined; } | { type: string; $ref?: undefined; })[]; }; issuer: { anyOf: ({ $ref: string; type?: undefined; } | { type: string; $ref?: undefined; })[]; }; responseTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; scopesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; subjectTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; requestObjectSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; subject_syntax_types_supported: { type: string; items: { type: string; }; }; tokenEndpoint: { type: string; }; userinfoEndpoint: { type: string; }; jwksUri: { type: string; }; registrationEndpoint: { type: string; }; responseModesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; grantTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; acrValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; userinfoSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; userinfoEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; userinfoEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; requestObjectEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; requestObjectEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; tokenEndpointAuthMethodsSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; tokenEndpointAuthSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; displayValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; claimTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; claimsSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; serviceDocumentation: { type: string; }; claimsLocalesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; uiLocalesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; claimsParameterSupported: { type: string; }; requestParameterSupported: { type: string; }; requestUriParameterSupported: { type: string; }; requireRequestUriRegistration: { type: string; }; opPolicyUri: { type: string; }; opTosUri: { type: string; }; client_id: { type: string; }; redirectUris: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; clientName: { type: string; }; clientUri: { type: string; }; scope: { type: string; }; contacts: { type: string; items: { type: string; }; }; tosUri: { type: string; }; policyUri: { type: string; }; jwks: { $ref: string; }; softwareId: { type: string; }; softwareVersion: { type: string; }; tokenEndpointAuthMethod: { type: string; }; applicationType: { type: string; }; responseTypes: { type: string; }; grantTypes: { type: string; }; vpFormats: { $ref: string; }; logo_uri?: undefined; clientPurpose?: undefined; idTokenTypesSupported?: undefined; vpFormatsSupported?: undefined; }; required: string[]; } | { type: string; properties: { passBy: { $ref: string; }; reference_uri: { type: string; }; targets: { $ref: string; }; id_token_encrypted_response_alg: { $ref: string; }; id_token_encrypted_response_enc: { $ref: string; }; authorizationEndpoint: { anyOf: ({ $ref: string; type?: undefined; } | { type: string; $ref?: undefined; })[]; }; issuer: { anyOf: ({ $ref: string; type?: undefined; } | { type: string; $ref?: undefined; })[]; }; responseTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; scopesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; subjectTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; requestObjectSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; subject_syntax_types_supported: { type: string; items: { type: string; }; }; tokenEndpoint: { type: string; }; userinfoEndpoint: { type: string; }; jwksUri: { type: string; }; registrationEndpoint: { type: string; }; responseModesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; grantTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; acrValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; idTokenEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; userinfoSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; userinfoEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; userinfoEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; requestObjectEncryptionAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; requestObjectEncryptionEncValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; tokenEndpointAuthMethodsSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; tokenEndpointAuthSigningAlgValuesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; displayValuesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; claimTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; claimsSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; serviceDocumentation: { type: string; }; claimsLocalesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; uiLocalesSupported: { anyOf: ({ type: string; items: { type: string; }; } | { type: string; items?: undefined; })[]; }; claimsParameterSupported: { type: string; }; requestParameterSupported: { type: string; }; requestUriParameterSupported: { type: string; }; requireRequestUriRegistration: { type: string; }; opPolicyUri: { type: string; }; opTosUri: { type: string; }; idTokenTypesSupported: { anyOf: ({ type: string; items: { $ref: string; }; $ref?: undefined; } | { $ref: string; type?: undefined; items?: undefined; })[]; }; vpFormatsSupported: { $ref: string; }; client_id?: undefined; redirectUris?: undefined; clientName?: undefined; clientUri?: undefined; scope?: undefined; contacts?: undefined; tosUri?: undefined; policyUri?: undefined; jwks?: undefined; softwareId?: undefined; softwareVersion?: undefined; tokenEndpointAuthMethod?: undefined; applicationType?: undefined; responseTypes?: undefined; grantTypes?: undefined; vpFormats?: undefined; logo_uri?: undefined; clientPurpose?: undefined; }; required: string[]; })[]; }; PassBy: { type: string; enum: string[]; }; PropertyTargets: { anyOf: ({ $ref: string; type?: undefined; items?: undefined; } | { type: string; items: { $ref: string; }; $ref?: undefined; })[]; }; PropertyTarget: { type: string; enum: string[]; description: string; }; EncKeyAlgorithm: { type: string; const: string; }; EncSymmetricAlgorithmCode: { type: string; const: string; }; Schema: { type: string; enum: string[]; }; ResponseIss: { type: string; enum: string[]; }; ResponseType: { type: string; enum: string[]; }; Scope: { type: string; enum: string[]; }; SubjectType: { type: string; enum: string[]; }; SigningAlgo: { type: string; enum: string[]; }; ResponseMode: { type: string; enum: string[]; }; GrantType: { type: string; enum: string[]; }; AuthenticationContextReferences: { type: string; enum: string[]; }; TokenEndpointAuthMethod: { type: string; enum: string[]; }; ClaimType: { type: string; enum: string[]; }; JWKS: { type: string; properties: { keys: { type: string; items: { $ref: string; }; }; }; required: string[]; additionalProperties: boolean; }; JWK: { type: string; properties: { kty: { type: string; }; crv: { type: string; }; x: { type: string; }; y: { type: string; }; e: { type: string; }; n: { type: string; }; alg: { type: string; }; d: { type: string; }; dp: { type: string;