@sphereon/did-auth-siop
Version:
Self Issued OpenID V2 (SIOPv2) and OpenID 4 Verifiable Presentations (OID4VP)
1,395 lines (1,394 loc) • 51.6 kB
TypeScript
export declare const DiscoveryMetadataPayloadSchemaObj: {
$id: string;
$schema: string;
$ref: string;
definitions: {
DiscoveryMetadataPayload: {
anyOf: ({
type: string;
properties: {
authorization_endpoint: {
anyOf: ({
$ref: string;
type?: undefined;
} | {
type: string;
$ref?: undefined;
})[];
};
issuer: {
anyOf: ({
$ref: string;
type?: undefined;
} | {
type: string;
$ref?: undefined;
})[];
};
response_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
scopes_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
subject_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
request_object_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
subject_syntax_types_supported: {
type: string;
items: {
type: string;
};
};
token_endpoint: {
type: string;
};
userinfo_endpoint: {
type: string;
};
jwks_uri: {
type: string;
};
registration_endpoint: {
type: string;
};
response_modes_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
grant_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
acr_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
userinfo_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
userinfo_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
userinfo_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
request_object_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
request_object_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
token_endpoint_auth_methods_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
token_endpoint_auth_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
display_values_supported: {
anyOf: ({
type: string;
items: {};
} | {
type?: undefined;
items?: undefined;
})[];
description: string;
};
claim_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
description: string;
};
claims_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
service_documentation: {
type: string;
};
claims_locales_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
};
ui_locales_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
};
claims_parameter_supported: {
type: string;
};
request_parameter_supported: {
type: string;
};
request_uri_parameter_supported: {
type: string;
};
require_request_uri_registration: {
type: string;
};
op_policy_uri: {
type: string;
};
op_tos_uri: {
type: string;
};
redirect_uris: {
type: string;
items: {
type: string;
};
};
token_endpoint_auth_method: {
type: string;
};
grant_types: {
type: string;
};
response_types: {
type: string;
};
client_name: {
type: string;
};
client_uri: {
type: string;
};
logo_uri: {
type: string;
};
scope: {
type: string;
};
contacts: {
type: string;
items: {
type: string;
};
};
tos_uri: {
type: string;
};
policy_uri: {
type: string;
};
jwks: {
$ref: string;
};
software_id: {
type: string;
};
software_version: {
type: string;
};
client_id: {
type: string;
};
application_type: {
type: string;
};
vp_formats: {
$ref: string;
};
client_purpose?: undefined;
id_token_types_supported?: undefined;
vp_formats_supported?: undefined;
};
} | {
type: string;
properties: {
authorization_endpoint: {
anyOf: ({
$ref: string;
type?: undefined;
} | {
type: string;
$ref?: undefined;
})[];
};
issuer: {
anyOf: ({
$ref: string;
type?: undefined;
} | {
type: string;
$ref?: undefined;
})[];
};
response_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
scopes_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
subject_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
request_object_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
subject_syntax_types_supported: {
type: string;
items: {
type: string;
};
};
token_endpoint: {
type: string;
};
userinfo_endpoint: {
type: string;
};
jwks_uri: {
type: string;
};
registration_endpoint: {
type: string;
};
response_modes_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
grant_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
acr_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
userinfo_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
userinfo_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
userinfo_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
request_object_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
request_object_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
token_endpoint_auth_methods_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
token_endpoint_auth_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
display_values_supported: {
anyOf: ({
type: string;
items: {};
} | {
type?: undefined;
items?: undefined;
})[];
description: string;
};
claim_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
description: string;
};
claims_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
service_documentation: {
type: string;
};
claims_locales_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
};
ui_locales_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
};
claims_parameter_supported: {
type: string;
};
request_parameter_supported: {
type: string;
};
request_uri_parameter_supported: {
type: string;
};
require_request_uri_registration: {
type: string;
};
op_policy_uri: {
type: string;
};
op_tos_uri: {
type: string;
};
redirect_uris: {
type: string;
items: {
type: string;
};
};
token_endpoint_auth_method: {
type: string;
};
grant_types: {
type: string;
};
response_types: {
type: string;
};
client_name: {
type: string;
};
client_uri: {
type: string;
};
logo_uri: {
type: string;
};
scope: {
type: string;
};
contacts: {
type: string;
items: {
type: string;
};
};
tos_uri: {
type: string;
};
policy_uri: {
type: string;
};
jwks: {
$ref: string;
};
software_id: {
type: string;
};
software_version: {
type: string;
};
client_id: {
type: string;
};
application_type: {
type: string;
};
vp_formats: {
$ref: string;
};
client_purpose: {
type: string;
};
id_token_types_supported?: undefined;
vp_formats_supported?: undefined;
};
} | {
type: string;
properties: {
authorization_endpoint: {
anyOf: ({
$ref: string;
type?: undefined;
} | {
type: string;
$ref?: undefined;
})[];
};
issuer: {
anyOf: ({
$ref: string;
type?: undefined;
} | {
type: string;
$ref?: undefined;
})[];
};
response_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
scopes_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
subject_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
request_object_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
subject_syntax_types_supported: {
type: string;
items: {
type: string;
};
};
token_endpoint: {
type: string;
};
userinfo_endpoint: {
type: string;
};
jwks_uri: {
type: string;
};
registration_endpoint: {
type: string;
};
response_modes_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
grant_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
acr_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
id_token_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
userinfo_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
userinfo_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
userinfo_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
request_object_encryption_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
request_object_encryption_enc_values_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
token_endpoint_auth_methods_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
token_endpoint_auth_signing_alg_values_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
display_values_supported: {
anyOf: ({
type: string;
items: {};
} | {
type?: undefined;
items?: undefined;
})[];
description: string;
};
claim_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
description: string;
};
claims_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
description: string;
};
service_documentation: {
type: string;
};
claims_locales_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
};
ui_locales_supported: {
anyOf: ({
type: string;
items: {
type: string;
};
} | {
type: string;
items?: undefined;
})[];
};
claims_parameter_supported: {
type: string;
};
request_parameter_supported: {
type: string;
};
request_uri_parameter_supported: {
type: string;
};
require_request_uri_registration: {
type: string;
};
op_policy_uri: {
type: string;
};
op_tos_uri: {
type: string;
};
id_token_types_supported: {
anyOf: ({
type: string;
items: {
$ref: string;
};
$ref?: undefined;
} | {
$ref: string;
type?: undefined;
items?: undefined;
})[];
};
vp_formats_supported: {
$ref: string;
};
redirect_uris?: undefined;
token_endpoint_auth_method?: undefined;
grant_types?: undefined;
response_types?: undefined;
client_name?: undefined;
client_uri?: undefined;
logo_uri?: undefined;
scope?: undefined;
contacts?: undefined;
tos_uri?: undefined;
policy_uri?: undefined;
jwks?: undefined;
software_id?: undefined;
software_version?: undefined;
client_id?: undefined;
application_type?: undefined;
vp_formats?: undefined;
client_purpose?: undefined;
};
})[];
};
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;
};
dq: {
type: string;
};
ext: {
type: string;
};
k: {
type: string;
};
key_ops: {
type: string;
items: {
type: string;
};
};
kid: {
type: string;
};
oth: {
type: string;
items: {
type: string;
properties: {
d: {
type: string;
};
r: {
type: string;
};
t: {
type: string;
};
};
additionalProperties: boolean;
};
};
p: {
type: string;
};
q: {
type: string;
};
qi: {
type: string;
};
use: {
type: string;
};
x5c: {
type: string;
items: {
type: string;
};
};
x5t: {
type: string;
};
"x5t#S256": {
type: string;
};
x5u: {
type: string;
};
};
additionalProperties: {};
};
Format: {
type: string;
properties: {
jwt: {
$ref: string;
};
jwt_vc: {
$ref: string;
};
jwt_vc_json: {
$ref: string;
};
jwt_vp: {
$ref: string;
};
jwt_vp_json: {
$ref: string;
};
ldp: {
$ref: string;
};
ldp_vc: {
$ref: string;
};
ldp_vp: {
$ref: string;
};
di: {
$ref: string;
};
di_vc: {
$ref: string;
};
di_vp: {
$ref: string;
};
"vc+sd-jwt": {
$ref: string;
};
mso_mdoc: {
$ref: string;
};
};
additionalProperties: boolean;
};
JwtObject: {
type: string;
properties: {
alg: {
type: string;
items: {
type: string;
};
};
};
required: string[];
additionalProperties: boolean;
};
LdpObject: {
type: string;
properties: {
proof_type: {
type: string;
items: {
type: string;
};