@sphereon/ssi-sdk.oid4vci-holder 0.34.1-feature.SSISDK.26.RP.58 → 0.34.1-feature.SSISDK.44.finish.dcql.310
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +440 -402
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -14
- package/dist/index.d.ts +23 -14
- package/dist/index.js +440 -402
- package/dist/index.js.map +1 -1
- package/package.json +25 -24
- package/src/agent/OID4VCIHolder.ts +65 -42
- package/src/machines/firstPartyMachine.ts +1 -1
- package/src/machines/oid4vciMachine.ts +38 -6
- package/src/mappers/OIDC4VCIBrandingMapper.ts +1 -1
- package/src/services/OID4VCIHolderService.ts +43 -66
- package/src/types/FirstPartyMachine.ts +6 -5
- package/src/types/IOID4VCIHolder.ts +19 -12
package/dist/index.d.cts
CHANGED
|
@@ -2,20 +2,21 @@ import { AuthorizationChallengeCodeResponse, EndpointMetadataResult, CredentialO
|
|
|
2
2
|
import { IIdentifierResolution, ManagedIdentifierMethod, ManagedIdentifierOptsOrResult, ManagedIdentifierResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
|
|
3
3
|
import { IJwtService } from '@sphereon/ssi-sdk-ext.jwt-service';
|
|
4
4
|
import { IIdentifier, IPluginMethodMap, IAgentContext, ICredentialVerifier, ICredentialIssuer, IDIDManager, IResolver, IKeyManager, TKeyType, VerificationPolicies, TAgent, IAgentPlugin } from '@veramo/core';
|
|
5
|
-
import { OpenID4VCIClientState, OpenID4VCIClient } from '@sphereon/oid4vci-client';
|
|
6
5
|
import { DynamicRegistrationClientMetadata } from '@sphereon/oid4vc-common';
|
|
6
|
+
import { OpenID4VCIClientState, OpenID4VCIClientV1_0_15 } from '@sphereon/oid4vci-client';
|
|
7
7
|
import { SupportedDidMethodEnum, CreateOrGetIdentifierOpts, IdentifierProviderOpts } from '@sphereon/ssi-sdk-ext.did-utils';
|
|
8
8
|
import { IContactManager } from '@sphereon/ssi-sdk.contact-manager';
|
|
9
9
|
import { UniqueDigitalCredential, ICredentialStore } from '@sphereon/ssi-sdk.credential-store';
|
|
10
|
-
import {
|
|
10
|
+
import { ICredentialValidation, SchemaValidation } from '@sphereon/ssi-sdk.credential-validation';
|
|
11
|
+
import { Party, DidAuthConfig, IIssuerLocaleBranding, IBasicIssuerLocaleBranding, IBasicCredentialLocaleBranding, Identity, DigitalCredential, IBasicCredentialClaim } from '@sphereon/ssi-sdk.data-store-types';
|
|
11
12
|
import { IIssuanceBranding } from '@sphereon/ssi-sdk.issuance-branding';
|
|
12
13
|
import { ImDLMdoc } from '@sphereon/ssi-sdk.mdl-mdoc';
|
|
13
14
|
import { ISDJwtPlugin } from '@sphereon/ssi-sdk.sd-jwt';
|
|
14
|
-
import { ICredentialValidation, SchemaValidation } from '@sphereon/ssi-sdk.credential-validation';
|
|
15
15
|
import { IDidAuthSiopOpAuthenticator, CreateConfigResult } from '@sphereon/ssi-sdk.siopv2-oid4vp-op-auth';
|
|
16
16
|
import { IVerifiableCredential, W3CVerifiableCredential, WrappedVerifiableCredential, WrappedVerifiablePresentation, JoseSignatureAlgorithm, JoseSignatureAlgorithmString, HasherSync, SdJwtTypeDisplayMetadata, SdJwtClaimMetadata, OriginalVerifiableCredential } from '@sphereon/ssi-types';
|
|
17
17
|
import { Interpreter, State, StatesConfig, StateMachine, BaseActionObject, ServiceMap, ResolveTypegenMeta, TypegenDisabled } from 'xstate';
|
|
18
|
-
import { RPRegistrationMetadataPayload
|
|
18
|
+
import { RPRegistrationMetadataPayload } from '@sphereon/did-auth-siop';
|
|
19
|
+
import { DcqlQuery } from 'dcql';
|
|
19
20
|
import { LinkHandlerAdapter, DefaultLinkPriorities } from '@sphereon/ssi-sdk.core';
|
|
20
21
|
import { IMachineStatePersistence, SerializableState } from '@sphereon/ssi-sdk.xstate-machine-persistence';
|
|
21
22
|
|
|
@@ -113,7 +114,7 @@ type SiopV2AuthorizationRequestData = {
|
|
|
113
114
|
clientIdScheme?: string;
|
|
114
115
|
clientId?: string;
|
|
115
116
|
entityId?: string;
|
|
116
|
-
|
|
117
|
+
dcqlQuery: DcqlQuery;
|
|
117
118
|
};
|
|
118
119
|
type FirstPartyMachineNavigationArgs = {
|
|
119
120
|
firstPartyMachine: FirstPartyMachineInterpreter;
|
|
@@ -128,6 +129,7 @@ interface IOID4VCIHolder extends IPluginMethodMap {
|
|
|
128
129
|
oid4vciHolderGetMachineInterpreter(args: GetMachineArgs, context: RequiredContext): Promise<OID4VCIMachine>;
|
|
129
130
|
oid4vciHolderStart(args: PrepareStartArgs, context: RequiredContext): Promise<StartResult>;
|
|
130
131
|
oid4vciHolderCreateCredentialsToSelectFrom(args: CreateCredentialsToSelectFromArgs, context: RequiredContext): Promise<Array<CredentialToSelectFromResult>>;
|
|
132
|
+
oid4vciHolderPrepareAuthorizationRequest(args: PrepareAuthorizationRequestArgs, context: RequiredContext): Promise<PrepareAuthorizationResult>;
|
|
131
133
|
oid4vciHolderGetContact(args: GetContactArgs, context: RequiredContext): Promise<Party | undefined>;
|
|
132
134
|
oid4vciHolderGetCredentials(args: GetCredentialsArgs, context: RequiredContext): Promise<Array<MappedCredentialToAccept>>;
|
|
133
135
|
oid4vciHolderGetCredential(args: GetCredentialArgs, context: RequiredContext): Promise<MappedCredentialToAccept>;
|
|
@@ -176,6 +178,7 @@ type GetMachineArgs = {
|
|
|
176
178
|
firstPartyStateNavigationListener?: FirstPartyMachineStateNavigationListener;
|
|
177
179
|
};
|
|
178
180
|
type PrepareStartArgs = Pick<OID4VCIMachineContext, 'requestData' | 'authorizationRequestOpts' | 'didMethodPreferences' | 'issuanceOpt' | 'accessTokenOpts'>;
|
|
181
|
+
type PrepareAuthorizationRequestArgs = Pick<OID4VCIMachineContext, 'openID4VCIClientState' | 'contact'>;
|
|
179
182
|
type CreateCredentialsToSelectFromArgs = Pick<OID4VCIMachineContext, 'credentialsSupported' | 'credentialBranding' | 'selectedCredentials' | 'locale' | 'openID4VCIClientState'>;
|
|
180
183
|
type GetContactArgs = Pick<OID4VCIMachineContext, 'serverMetadata'>;
|
|
181
184
|
type GetCredentialsArgs = Pick<OID4VCIMachineContext, 'verificationCode' | 'openID4VCIClientState' | 'selectedCredentials' | 'didMethodPreferences' | 'issuanceOpt' | 'accessTokenOpts'>;
|
|
@@ -265,6 +268,7 @@ declare enum OID4VCIMachineStates {
|
|
|
265
268
|
selectCredentials = "selectCredentials",
|
|
266
269
|
transitionFromSelectingCredentials = "transitionFromSelectingCredentials",
|
|
267
270
|
verifyPin = "verifyPin",
|
|
271
|
+
prepareAuthorizationRequest = "prepareAuthorizationRequest",
|
|
268
272
|
initiateAuthorizationRequest = "initiateAuthorizationRequest",
|
|
269
273
|
waitForAuthorizationResponse = "waitForAuthorizationResponse",
|
|
270
274
|
getCredentials = "getCredentials",
|
|
@@ -372,6 +376,7 @@ declare enum OID4VCIMachineServices {
|
|
|
372
376
|
getFederationTrust = "getFederationTrust",
|
|
373
377
|
addContactIdentity = "addContactIdentity",
|
|
374
378
|
createCredentialsToSelectFrom = "createCredentialsToSelectFrom",
|
|
379
|
+
prepareAuthorizationRequest = "prepareAuthorizationRequest",
|
|
375
380
|
getIssuerBranding = "getIssuerBranding",
|
|
376
381
|
storeIssuerBranding = "storeIssuerBranding",
|
|
377
382
|
getCredentials = "getCredentials",
|
|
@@ -447,12 +452,14 @@ type OID4VCIMachine = {
|
|
|
447
452
|
interpreter: OID4VCIMachineInterpreter;
|
|
448
453
|
};
|
|
449
454
|
type StartResult = {
|
|
450
|
-
authorizationCodeURL?: string;
|
|
451
455
|
credentialBranding?: Record<string, Array<IBasicCredentialLocaleBranding>>;
|
|
452
456
|
credentialsSupported: Record<string, CredentialConfigurationSupported>;
|
|
453
457
|
serverMetadata: EndpointMetadataResult;
|
|
454
458
|
oid4vciClientState: OpenID4VCIClientState;
|
|
455
459
|
};
|
|
460
|
+
type PrepareAuthorizationResult = {
|
|
461
|
+
authorizationCodeURL?: string;
|
|
462
|
+
};
|
|
456
463
|
type SelectAppLocaleBrandingArgs = {
|
|
457
464
|
locale?: string;
|
|
458
465
|
localeBranding?: Array<IBasicCredentialLocaleBranding | IBasicIssuerLocaleBranding>;
|
|
@@ -486,7 +493,7 @@ type CredentialToAccept = {
|
|
|
486
493
|
credentialResponse: CredentialResponseV1_0_15 | CredentialResponse;
|
|
487
494
|
};
|
|
488
495
|
type GetCredentialConfigsSupportedArgs = {
|
|
489
|
-
client:
|
|
496
|
+
client: OpenID4VCIClientV1_0_15;
|
|
490
497
|
vcFormatPreferences: Array<string>;
|
|
491
498
|
format?: Array<string>;
|
|
492
499
|
types?: Array<Array<string>>;
|
|
@@ -497,7 +504,7 @@ type GetCredentialConfigsSupportedArgs = {
|
|
|
497
504
|
* It can potentially return multiple results mainly because of different formats.
|
|
498
505
|
*/
|
|
499
506
|
type GetCredentialConfigsSupportedBySingleTypeOrIdArgs = {
|
|
500
|
-
client:
|
|
507
|
+
client: OpenID4VCIClientV1_0_15;
|
|
501
508
|
vcFormatPreferences: Array<string>;
|
|
502
509
|
format?: string[];
|
|
503
510
|
types?: string[];
|
|
@@ -526,7 +533,7 @@ type GetDefaultIssuanceOptsArgs = {
|
|
|
526
533
|
context: RequiredContext;
|
|
527
534
|
};
|
|
528
535
|
type DefaultIssuanceOpts = {
|
|
529
|
-
client:
|
|
536
|
+
client: OpenID4VCIClientV1_0_15;
|
|
530
537
|
};
|
|
531
538
|
type GetIdentifierArgs = {
|
|
532
539
|
issuanceOpt: IssuanceOpts;
|
|
@@ -556,7 +563,7 @@ type CreateIdentifierCreateOpts = {
|
|
|
556
563
|
options?: IdentifierProviderOpts;
|
|
557
564
|
};
|
|
558
565
|
type GetIssuanceOptsArgs = {
|
|
559
|
-
client:
|
|
566
|
+
client: OpenID4VCIClientV1_0_15;
|
|
560
567
|
credentialsSupported: Record<string, CredentialConfigurationSupported>;
|
|
561
568
|
serverMetadata: EndpointMetadataResult;
|
|
562
569
|
context: RequiredContext;
|
|
@@ -567,19 +574,19 @@ type GetIssuanceOptsArgs = {
|
|
|
567
574
|
};
|
|
568
575
|
type GetIssuanceDidMethodArgs = {
|
|
569
576
|
credentialSupported: CredentialConfigurationSupported;
|
|
570
|
-
client:
|
|
577
|
+
client: OpenID4VCIClientV1_0_15;
|
|
571
578
|
didMethodPreferences: Array<SupportedDidMethodEnum>;
|
|
572
579
|
};
|
|
573
580
|
type GetIssuanceCryptoSuiteArgs = {
|
|
574
581
|
credentialSupported: CredentialConfigurationSupported;
|
|
575
|
-
client:
|
|
582
|
+
client: OpenID4VCIClientV1_0_15;
|
|
576
583
|
jwtCryptographicSuitePreferences: Array<JoseSignatureAlgorithm | JoseSignatureAlgorithmString>;
|
|
577
584
|
jsonldCryptographicSuitePreferences: Array<string>;
|
|
578
585
|
};
|
|
579
586
|
type GetCredentialArgs = {
|
|
580
587
|
pin?: string;
|
|
581
588
|
issuanceOpt: IssuanceOpts;
|
|
582
|
-
client:
|
|
589
|
+
client: OpenID4VCIClientV1_0_15;
|
|
583
590
|
accessTokenOpts?: AccessTokenOpts;
|
|
584
591
|
};
|
|
585
592
|
type AccessTokenOpts = {
|
|
@@ -698,6 +705,7 @@ declare class OID4VCIHolder implements IAgentPlugin {
|
|
|
698
705
|
* @private
|
|
699
706
|
*/
|
|
700
707
|
private oid4vciHolderStart;
|
|
708
|
+
private oid4vciHolderPrepareAuthorizationRequest;
|
|
701
709
|
private oid4vciHolderCreateCredentialsToSelectFrom;
|
|
702
710
|
private oid4vciHolderGetContact;
|
|
703
711
|
private oid4vciHolderGetCredentials;
|
|
@@ -734,6 +742,7 @@ declare const getCredentialConfigsBasedOnFormatPref: (args: GetPreferredCredenti
|
|
|
734
742
|
declare const selectCredentialLocaleBranding: (args: SelectAppLocaleBrandingArgs) => Promise<IBasicCredentialLocaleBranding | IBasicIssuerLocaleBranding | undefined>;
|
|
735
743
|
declare const verifyCredentialToAccept: (args: VerifyCredentialToAcceptArgs) => Promise<VerificationResult>;
|
|
736
744
|
declare const mapCredentialToAccept: (args: MapCredentialToAcceptArgs) => Promise<MappedCredentialToAccept>;
|
|
745
|
+
declare const extractCredentialFromResponse: (credentialResponse: CredentialResponse) => OriginalVerifiableCredential;
|
|
737
746
|
declare const getIdentifierOpts: (args: GetIdentifierArgs) => Promise<ManagedIdentifierResult>;
|
|
738
747
|
declare const getCredentialConfigsSupportedMerged: (args: GetCredentialConfigsSupportedArgs) => Promise<Record<string, CredentialConfigurationSupported>>;
|
|
739
748
|
declare const getCredentialConfigsSupported: (args: GetCredentialConfigsSupportedArgs) => Promise<Array<Record<string, CredentialConfigurationSupported>>>;
|
|
@@ -784,4 +793,4 @@ declare class OID4VCIHolderLinkHandler extends LinkHandlerAdapter {
|
|
|
784
793
|
}): Promise<void>;
|
|
785
794
|
}
|
|
786
795
|
|
|
787
|
-
export { type AccessTokenOpts, type AddContactIdentityArgs, type AssertValidCredentialsArgs, type Attribute, type AuthorizationResponseEvent, type ContactAliasEvent, type ContactConsentEvent, type CreateConfigArgs, type CreateContactEvent, type CreateCredentialsToSelectFromArgs, type CreateFirstPartyMachineOpts, type CreateIdentifierArgs, type CreateIdentifierCreateOpts, type CreateIdentifierOpts, type CreateOID4VCIMachineOpts, type CredentialToAccept, type CredentialToSelectFromResult, type CredentialVerificationError, type DeclineEvent, type DefaultIssuanceOpts, type DidAgents, type DynamicRegistrationClientMetadataDisplay, type ErrorDetails, type FirstPartyDeclineEvent, type FirstPartyMachineContext, type FirstPartyMachineEventTypes, FirstPartyMachineEvents, type FirstPartyMachineInterpreter, type FirstPartyMachineNavigationArgs, type FirstPartyMachineServiceDefinitions, FirstPartyMachineServices, type FirstPartyMachineState, type FirstPartyMachineStateNavigationListener, FirstPartyMachineStateTypes, type FirstPartyMachineStates, type FirstPartyMachineStatesConfig, type FirstPartyNextEvent, type FirstPartyPreviousEvent, type FirstPartySelectCredentialsEvent, type FirstPartyStateMachine, type GetAuthenticationKeyArgs, type GetBasicIssuerLocaleBrandingArgs, type GetContactArgs, type GetCredentialArgs, type GetCredentialBrandingArgs, type GetCredentialConfigsSupportedArgs, type GetCredentialConfigsSupportedBySingleTypeOrIdArgs, type GetCredentialsArgs, type GetDefaultIssuanceOptsArgs, type GetFederationTrustArgs, type GetIdentifierArgs, type GetIssuanceCryptoSuiteArgs, type GetIssuanceDidMethodArgs, type GetIssuanceOptsArgs, type GetIssuerBrandingArgs, type GetIssuerMetadataArgs, type GetMachineArgs, type GetOrCreatePrimaryIdentifierArgs, type GetPreferredCredentialFormatsArgs, type GetSiopRequestArgs, type IOID4VCIHolder, IdentifierAliasEnum, type InstanceFirstPartyMachineOpts, type InvokeAuthorizationRequestEvent, type IssuanceOpts, type IssuerLocaleBrandingFromArgs, type IssuerType, type MapCredentialToAcceptArgs, type MappedCredentialToAccept, type NextEvent, OID4VCICallbackStateListener, type OID4VCIContext, OID4VCIHolder, OID4VCIHolderEvent, OID4VCIHolderLinkHandler, type OID4VCIHolderOptions, type OID4VCIMachine, OID4VCIMachineAddContactStates, type OID4VCIMachineContext, type OID4VCIMachineEventTypes, OID4VCIMachineEvents, OID4VCIMachineGuards, type OID4VCIMachineInstanceOpts, type OID4VCIMachineInterpreter, type OID4VCIMachineNavigationArgs, type OID4VCIMachineServiceDefinitions, OID4VCIMachineServices, type OID4VCIMachineState, type OID4VCIMachineStateNavigationListener, OID4VCIMachineStates, OID4VCIMachineVerifyPinStates, type OID4VCIProviderProps, type OID4VCIStateMachine, type Oid4vciCombineDisplayLocalesFromArgs, type Oid4vciCredentialDisplayLocalesFromArgs, type Oid4vciCredentialLocaleBrandingFromArgs, type Oid4vciGetCredentialBrandingFromArgs, type Oid4vciIssuerCredentialSubjectLocalesFromArgs, type OnContactIdentityCreatedArgs, type OnCredentialStoredArgs, type OnIdentifierCreatedArgs, type PrepareStartArgs, type PreviousEvent, type RequestData, RequestType, type RequiredContext, type SdJwtCombineDisplayLocalesFromArgs, type SdJwtCredentialClaimLocalesFromArgs, type SdJwtCredentialDisplayLocalesFromArgs, type SdJwtCredentialLocaleBrandingFromArgs, type SdJwtGetCredentialBrandingFromArgs, type SelectAppLocaleBrandingArgs, type SelectCredentialsEvent, type SendAuthorizationChallengeRequestArgs, type SendAuthorizationResponseArgs, type SendNotificationArgs, type SetAuthorizationCodeURLEvent, type SiopV2AuthorizationRequestData, type StartFirstPartApplicationMachine, type StartResult, type StoreCredentialBrandingArgs, type StoreCredentialsArgs, type StoreIssuerBrandingArgs, SupportedLanguage, type VerificationCodeEvent, type VerificationResult, type VerificationSubResult, type VerifyCredentialArgs, type VerifyCredentialToAcceptArgs, type VerifyEBSICredentialIssuerArgs, type VerifyEBSICredentialIssuerResult, type VerifyMdocArgs, type VerifySDJWTCredentialArgs, createConfig, getBasicIssuerLocaleBranding, getCredentialBranding, getCredentialConfigsBasedOnFormatPref, getCredentialConfigsSupported, getCredentialConfigsSupportedBySingleTypeOrId, getCredentialConfigsSupportedMerged, getIdentifierOpts, getIssuanceCryptoSuite, getIssuanceMethod, getIssuanceOpts, getSiopRequest, issuerLocaleBrandingFrom, mapCredentialToAccept, oid4vciCombineDisplayLocalesFrom, oid4vciCredentialDisplayLocalesFrom, oid4vciCredentialLocaleBrandingFrom, oid4vciGetCredentialBrandingFrom, oid4vciHolderContextMethods, oid4vciIssuerCredentialSubjectLocalesFrom, sdJwtCombineDisplayLocalesFrom, sdJwtCredentialClaimLocalesFrom, sdJwtCredentialDisplayLocalesFrom, sdJwtCredentialLocaleBrandingFrom, sdJwtGetCredentialBrandingFrom, selectCredentialLocaleBranding, sendAuthorizationChallengeRequest, sendAuthorizationResponse, signCallback, startFirstPartApplicationMachine, verifyCredentialToAccept };
|
|
796
|
+
export { type AccessTokenOpts, type AddContactIdentityArgs, type AssertValidCredentialsArgs, type Attribute, type AuthorizationResponseEvent, type ContactAliasEvent, type ContactConsentEvent, type CreateConfigArgs, type CreateContactEvent, type CreateCredentialsToSelectFromArgs, type CreateFirstPartyMachineOpts, type CreateIdentifierArgs, type CreateIdentifierCreateOpts, type CreateIdentifierOpts, type CreateOID4VCIMachineOpts, type CredentialToAccept, type CredentialToSelectFromResult, type CredentialVerificationError, type DeclineEvent, type DefaultIssuanceOpts, type DidAgents, type DynamicRegistrationClientMetadataDisplay, type ErrorDetails, type FirstPartyDeclineEvent, type FirstPartyMachineContext, type FirstPartyMachineEventTypes, FirstPartyMachineEvents, type FirstPartyMachineInterpreter, type FirstPartyMachineNavigationArgs, type FirstPartyMachineServiceDefinitions, FirstPartyMachineServices, type FirstPartyMachineState, type FirstPartyMachineStateNavigationListener, FirstPartyMachineStateTypes, type FirstPartyMachineStates, type FirstPartyMachineStatesConfig, type FirstPartyNextEvent, type FirstPartyPreviousEvent, type FirstPartySelectCredentialsEvent, type FirstPartyStateMachine, type GetAuthenticationKeyArgs, type GetBasicIssuerLocaleBrandingArgs, type GetContactArgs, type GetCredentialArgs, type GetCredentialBrandingArgs, type GetCredentialConfigsSupportedArgs, type GetCredentialConfigsSupportedBySingleTypeOrIdArgs, type GetCredentialsArgs, type GetDefaultIssuanceOptsArgs, type GetFederationTrustArgs, type GetIdentifierArgs, type GetIssuanceCryptoSuiteArgs, type GetIssuanceDidMethodArgs, type GetIssuanceOptsArgs, type GetIssuerBrandingArgs, type GetIssuerMetadataArgs, type GetMachineArgs, type GetOrCreatePrimaryIdentifierArgs, type GetPreferredCredentialFormatsArgs, type GetSiopRequestArgs, type IOID4VCIHolder, IdentifierAliasEnum, type InstanceFirstPartyMachineOpts, type InvokeAuthorizationRequestEvent, type IssuanceOpts, type IssuerLocaleBrandingFromArgs, type IssuerType, type MapCredentialToAcceptArgs, type MappedCredentialToAccept, type NextEvent, OID4VCICallbackStateListener, type OID4VCIContext, OID4VCIHolder, OID4VCIHolderEvent, OID4VCIHolderLinkHandler, type OID4VCIHolderOptions, type OID4VCIMachine, OID4VCIMachineAddContactStates, type OID4VCIMachineContext, type OID4VCIMachineEventTypes, OID4VCIMachineEvents, OID4VCIMachineGuards, type OID4VCIMachineInstanceOpts, type OID4VCIMachineInterpreter, type OID4VCIMachineNavigationArgs, type OID4VCIMachineServiceDefinitions, OID4VCIMachineServices, type OID4VCIMachineState, type OID4VCIMachineStateNavigationListener, OID4VCIMachineStates, OID4VCIMachineVerifyPinStates, type OID4VCIProviderProps, type OID4VCIStateMachine, type Oid4vciCombineDisplayLocalesFromArgs, type Oid4vciCredentialDisplayLocalesFromArgs, type Oid4vciCredentialLocaleBrandingFromArgs, type Oid4vciGetCredentialBrandingFromArgs, type Oid4vciIssuerCredentialSubjectLocalesFromArgs, type OnContactIdentityCreatedArgs, type OnCredentialStoredArgs, type OnIdentifierCreatedArgs, type PrepareAuthorizationRequestArgs, type PrepareAuthorizationResult, type PrepareStartArgs, type PreviousEvent, type RequestData, RequestType, type RequiredContext, type SdJwtCombineDisplayLocalesFromArgs, type SdJwtCredentialClaimLocalesFromArgs, type SdJwtCredentialDisplayLocalesFromArgs, type SdJwtCredentialLocaleBrandingFromArgs, type SdJwtGetCredentialBrandingFromArgs, type SelectAppLocaleBrandingArgs, type SelectCredentialsEvent, type SendAuthorizationChallengeRequestArgs, type SendAuthorizationResponseArgs, type SendNotificationArgs, type SetAuthorizationCodeURLEvent, type SiopV2AuthorizationRequestData, type StartFirstPartApplicationMachine, type StartResult, type StoreCredentialBrandingArgs, type StoreCredentialsArgs, type StoreIssuerBrandingArgs, SupportedLanguage, type VerificationCodeEvent, type VerificationResult, type VerificationSubResult, type VerifyCredentialArgs, type VerifyCredentialToAcceptArgs, type VerifyEBSICredentialIssuerArgs, type VerifyEBSICredentialIssuerResult, type VerifyMdocArgs, type VerifySDJWTCredentialArgs, createConfig, extractCredentialFromResponse, getBasicIssuerLocaleBranding, getCredentialBranding, getCredentialConfigsBasedOnFormatPref, getCredentialConfigsSupported, getCredentialConfigsSupportedBySingleTypeOrId, getCredentialConfigsSupportedMerged, getIdentifierOpts, getIssuanceCryptoSuite, getIssuanceMethod, getIssuanceOpts, getSiopRequest, issuerLocaleBrandingFrom, mapCredentialToAccept, oid4vciCombineDisplayLocalesFrom, oid4vciCredentialDisplayLocalesFrom, oid4vciCredentialLocaleBrandingFrom, oid4vciGetCredentialBrandingFrom, oid4vciHolderContextMethods, oid4vciIssuerCredentialSubjectLocalesFrom, sdJwtCombineDisplayLocalesFrom, sdJwtCredentialClaimLocalesFrom, sdJwtCredentialDisplayLocalesFrom, sdJwtCredentialLocaleBrandingFrom, sdJwtGetCredentialBrandingFrom, selectCredentialLocaleBranding, sendAuthorizationChallengeRequest, sendAuthorizationResponse, signCallback, startFirstPartApplicationMachine, verifyCredentialToAccept };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,20 +2,21 @@ import { AuthorizationChallengeCodeResponse, EndpointMetadataResult, CredentialO
|
|
|
2
2
|
import { IIdentifierResolution, ManagedIdentifierMethod, ManagedIdentifierOptsOrResult, ManagedIdentifierResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
|
|
3
3
|
import { IJwtService } from '@sphereon/ssi-sdk-ext.jwt-service';
|
|
4
4
|
import { IIdentifier, IPluginMethodMap, IAgentContext, ICredentialVerifier, ICredentialIssuer, IDIDManager, IResolver, IKeyManager, TKeyType, VerificationPolicies, TAgent, IAgentPlugin } from '@veramo/core';
|
|
5
|
-
import { OpenID4VCIClientState, OpenID4VCIClient } from '@sphereon/oid4vci-client';
|
|
6
5
|
import { DynamicRegistrationClientMetadata } from '@sphereon/oid4vc-common';
|
|
6
|
+
import { OpenID4VCIClientState, OpenID4VCIClientV1_0_15 } from '@sphereon/oid4vci-client';
|
|
7
7
|
import { SupportedDidMethodEnum, CreateOrGetIdentifierOpts, IdentifierProviderOpts } from '@sphereon/ssi-sdk-ext.did-utils';
|
|
8
8
|
import { IContactManager } from '@sphereon/ssi-sdk.contact-manager';
|
|
9
9
|
import { UniqueDigitalCredential, ICredentialStore } from '@sphereon/ssi-sdk.credential-store';
|
|
10
|
-
import {
|
|
10
|
+
import { ICredentialValidation, SchemaValidation } from '@sphereon/ssi-sdk.credential-validation';
|
|
11
|
+
import { Party, DidAuthConfig, IIssuerLocaleBranding, IBasicIssuerLocaleBranding, IBasicCredentialLocaleBranding, Identity, DigitalCredential, IBasicCredentialClaim } from '@sphereon/ssi-sdk.data-store-types';
|
|
11
12
|
import { IIssuanceBranding } from '@sphereon/ssi-sdk.issuance-branding';
|
|
12
13
|
import { ImDLMdoc } from '@sphereon/ssi-sdk.mdl-mdoc';
|
|
13
14
|
import { ISDJwtPlugin } from '@sphereon/ssi-sdk.sd-jwt';
|
|
14
|
-
import { ICredentialValidation, SchemaValidation } from '@sphereon/ssi-sdk.credential-validation';
|
|
15
15
|
import { IDidAuthSiopOpAuthenticator, CreateConfigResult } from '@sphereon/ssi-sdk.siopv2-oid4vp-op-auth';
|
|
16
16
|
import { IVerifiableCredential, W3CVerifiableCredential, WrappedVerifiableCredential, WrappedVerifiablePresentation, JoseSignatureAlgorithm, JoseSignatureAlgorithmString, HasherSync, SdJwtTypeDisplayMetadata, SdJwtClaimMetadata, OriginalVerifiableCredential } from '@sphereon/ssi-types';
|
|
17
17
|
import { Interpreter, State, StatesConfig, StateMachine, BaseActionObject, ServiceMap, ResolveTypegenMeta, TypegenDisabled } from 'xstate';
|
|
18
|
-
import { RPRegistrationMetadataPayload
|
|
18
|
+
import { RPRegistrationMetadataPayload } from '@sphereon/did-auth-siop';
|
|
19
|
+
import { DcqlQuery } from 'dcql';
|
|
19
20
|
import { LinkHandlerAdapter, DefaultLinkPriorities } from '@sphereon/ssi-sdk.core';
|
|
20
21
|
import { IMachineStatePersistence, SerializableState } from '@sphereon/ssi-sdk.xstate-machine-persistence';
|
|
21
22
|
|
|
@@ -113,7 +114,7 @@ type SiopV2AuthorizationRequestData = {
|
|
|
113
114
|
clientIdScheme?: string;
|
|
114
115
|
clientId?: string;
|
|
115
116
|
entityId?: string;
|
|
116
|
-
|
|
117
|
+
dcqlQuery: DcqlQuery;
|
|
117
118
|
};
|
|
118
119
|
type FirstPartyMachineNavigationArgs = {
|
|
119
120
|
firstPartyMachine: FirstPartyMachineInterpreter;
|
|
@@ -128,6 +129,7 @@ interface IOID4VCIHolder extends IPluginMethodMap {
|
|
|
128
129
|
oid4vciHolderGetMachineInterpreter(args: GetMachineArgs, context: RequiredContext): Promise<OID4VCIMachine>;
|
|
129
130
|
oid4vciHolderStart(args: PrepareStartArgs, context: RequiredContext): Promise<StartResult>;
|
|
130
131
|
oid4vciHolderCreateCredentialsToSelectFrom(args: CreateCredentialsToSelectFromArgs, context: RequiredContext): Promise<Array<CredentialToSelectFromResult>>;
|
|
132
|
+
oid4vciHolderPrepareAuthorizationRequest(args: PrepareAuthorizationRequestArgs, context: RequiredContext): Promise<PrepareAuthorizationResult>;
|
|
131
133
|
oid4vciHolderGetContact(args: GetContactArgs, context: RequiredContext): Promise<Party | undefined>;
|
|
132
134
|
oid4vciHolderGetCredentials(args: GetCredentialsArgs, context: RequiredContext): Promise<Array<MappedCredentialToAccept>>;
|
|
133
135
|
oid4vciHolderGetCredential(args: GetCredentialArgs, context: RequiredContext): Promise<MappedCredentialToAccept>;
|
|
@@ -176,6 +178,7 @@ type GetMachineArgs = {
|
|
|
176
178
|
firstPartyStateNavigationListener?: FirstPartyMachineStateNavigationListener;
|
|
177
179
|
};
|
|
178
180
|
type PrepareStartArgs = Pick<OID4VCIMachineContext, 'requestData' | 'authorizationRequestOpts' | 'didMethodPreferences' | 'issuanceOpt' | 'accessTokenOpts'>;
|
|
181
|
+
type PrepareAuthorizationRequestArgs = Pick<OID4VCIMachineContext, 'openID4VCIClientState' | 'contact'>;
|
|
179
182
|
type CreateCredentialsToSelectFromArgs = Pick<OID4VCIMachineContext, 'credentialsSupported' | 'credentialBranding' | 'selectedCredentials' | 'locale' | 'openID4VCIClientState'>;
|
|
180
183
|
type GetContactArgs = Pick<OID4VCIMachineContext, 'serverMetadata'>;
|
|
181
184
|
type GetCredentialsArgs = Pick<OID4VCIMachineContext, 'verificationCode' | 'openID4VCIClientState' | 'selectedCredentials' | 'didMethodPreferences' | 'issuanceOpt' | 'accessTokenOpts'>;
|
|
@@ -265,6 +268,7 @@ declare enum OID4VCIMachineStates {
|
|
|
265
268
|
selectCredentials = "selectCredentials",
|
|
266
269
|
transitionFromSelectingCredentials = "transitionFromSelectingCredentials",
|
|
267
270
|
verifyPin = "verifyPin",
|
|
271
|
+
prepareAuthorizationRequest = "prepareAuthorizationRequest",
|
|
268
272
|
initiateAuthorizationRequest = "initiateAuthorizationRequest",
|
|
269
273
|
waitForAuthorizationResponse = "waitForAuthorizationResponse",
|
|
270
274
|
getCredentials = "getCredentials",
|
|
@@ -372,6 +376,7 @@ declare enum OID4VCIMachineServices {
|
|
|
372
376
|
getFederationTrust = "getFederationTrust",
|
|
373
377
|
addContactIdentity = "addContactIdentity",
|
|
374
378
|
createCredentialsToSelectFrom = "createCredentialsToSelectFrom",
|
|
379
|
+
prepareAuthorizationRequest = "prepareAuthorizationRequest",
|
|
375
380
|
getIssuerBranding = "getIssuerBranding",
|
|
376
381
|
storeIssuerBranding = "storeIssuerBranding",
|
|
377
382
|
getCredentials = "getCredentials",
|
|
@@ -447,12 +452,14 @@ type OID4VCIMachine = {
|
|
|
447
452
|
interpreter: OID4VCIMachineInterpreter;
|
|
448
453
|
};
|
|
449
454
|
type StartResult = {
|
|
450
|
-
authorizationCodeURL?: string;
|
|
451
455
|
credentialBranding?: Record<string, Array<IBasicCredentialLocaleBranding>>;
|
|
452
456
|
credentialsSupported: Record<string, CredentialConfigurationSupported>;
|
|
453
457
|
serverMetadata: EndpointMetadataResult;
|
|
454
458
|
oid4vciClientState: OpenID4VCIClientState;
|
|
455
459
|
};
|
|
460
|
+
type PrepareAuthorizationResult = {
|
|
461
|
+
authorizationCodeURL?: string;
|
|
462
|
+
};
|
|
456
463
|
type SelectAppLocaleBrandingArgs = {
|
|
457
464
|
locale?: string;
|
|
458
465
|
localeBranding?: Array<IBasicCredentialLocaleBranding | IBasicIssuerLocaleBranding>;
|
|
@@ -486,7 +493,7 @@ type CredentialToAccept = {
|
|
|
486
493
|
credentialResponse: CredentialResponseV1_0_15 | CredentialResponse;
|
|
487
494
|
};
|
|
488
495
|
type GetCredentialConfigsSupportedArgs = {
|
|
489
|
-
client:
|
|
496
|
+
client: OpenID4VCIClientV1_0_15;
|
|
490
497
|
vcFormatPreferences: Array<string>;
|
|
491
498
|
format?: Array<string>;
|
|
492
499
|
types?: Array<Array<string>>;
|
|
@@ -497,7 +504,7 @@ type GetCredentialConfigsSupportedArgs = {
|
|
|
497
504
|
* It can potentially return multiple results mainly because of different formats.
|
|
498
505
|
*/
|
|
499
506
|
type GetCredentialConfigsSupportedBySingleTypeOrIdArgs = {
|
|
500
|
-
client:
|
|
507
|
+
client: OpenID4VCIClientV1_0_15;
|
|
501
508
|
vcFormatPreferences: Array<string>;
|
|
502
509
|
format?: string[];
|
|
503
510
|
types?: string[];
|
|
@@ -526,7 +533,7 @@ type GetDefaultIssuanceOptsArgs = {
|
|
|
526
533
|
context: RequiredContext;
|
|
527
534
|
};
|
|
528
535
|
type DefaultIssuanceOpts = {
|
|
529
|
-
client:
|
|
536
|
+
client: OpenID4VCIClientV1_0_15;
|
|
530
537
|
};
|
|
531
538
|
type GetIdentifierArgs = {
|
|
532
539
|
issuanceOpt: IssuanceOpts;
|
|
@@ -556,7 +563,7 @@ type CreateIdentifierCreateOpts = {
|
|
|
556
563
|
options?: IdentifierProviderOpts;
|
|
557
564
|
};
|
|
558
565
|
type GetIssuanceOptsArgs = {
|
|
559
|
-
client:
|
|
566
|
+
client: OpenID4VCIClientV1_0_15;
|
|
560
567
|
credentialsSupported: Record<string, CredentialConfigurationSupported>;
|
|
561
568
|
serverMetadata: EndpointMetadataResult;
|
|
562
569
|
context: RequiredContext;
|
|
@@ -567,19 +574,19 @@ type GetIssuanceOptsArgs = {
|
|
|
567
574
|
};
|
|
568
575
|
type GetIssuanceDidMethodArgs = {
|
|
569
576
|
credentialSupported: CredentialConfigurationSupported;
|
|
570
|
-
client:
|
|
577
|
+
client: OpenID4VCIClientV1_0_15;
|
|
571
578
|
didMethodPreferences: Array<SupportedDidMethodEnum>;
|
|
572
579
|
};
|
|
573
580
|
type GetIssuanceCryptoSuiteArgs = {
|
|
574
581
|
credentialSupported: CredentialConfigurationSupported;
|
|
575
|
-
client:
|
|
582
|
+
client: OpenID4VCIClientV1_0_15;
|
|
576
583
|
jwtCryptographicSuitePreferences: Array<JoseSignatureAlgorithm | JoseSignatureAlgorithmString>;
|
|
577
584
|
jsonldCryptographicSuitePreferences: Array<string>;
|
|
578
585
|
};
|
|
579
586
|
type GetCredentialArgs = {
|
|
580
587
|
pin?: string;
|
|
581
588
|
issuanceOpt: IssuanceOpts;
|
|
582
|
-
client:
|
|
589
|
+
client: OpenID4VCIClientV1_0_15;
|
|
583
590
|
accessTokenOpts?: AccessTokenOpts;
|
|
584
591
|
};
|
|
585
592
|
type AccessTokenOpts = {
|
|
@@ -698,6 +705,7 @@ declare class OID4VCIHolder implements IAgentPlugin {
|
|
|
698
705
|
* @private
|
|
699
706
|
*/
|
|
700
707
|
private oid4vciHolderStart;
|
|
708
|
+
private oid4vciHolderPrepareAuthorizationRequest;
|
|
701
709
|
private oid4vciHolderCreateCredentialsToSelectFrom;
|
|
702
710
|
private oid4vciHolderGetContact;
|
|
703
711
|
private oid4vciHolderGetCredentials;
|
|
@@ -734,6 +742,7 @@ declare const getCredentialConfigsBasedOnFormatPref: (args: GetPreferredCredenti
|
|
|
734
742
|
declare const selectCredentialLocaleBranding: (args: SelectAppLocaleBrandingArgs) => Promise<IBasicCredentialLocaleBranding | IBasicIssuerLocaleBranding | undefined>;
|
|
735
743
|
declare const verifyCredentialToAccept: (args: VerifyCredentialToAcceptArgs) => Promise<VerificationResult>;
|
|
736
744
|
declare const mapCredentialToAccept: (args: MapCredentialToAcceptArgs) => Promise<MappedCredentialToAccept>;
|
|
745
|
+
declare const extractCredentialFromResponse: (credentialResponse: CredentialResponse) => OriginalVerifiableCredential;
|
|
737
746
|
declare const getIdentifierOpts: (args: GetIdentifierArgs) => Promise<ManagedIdentifierResult>;
|
|
738
747
|
declare const getCredentialConfigsSupportedMerged: (args: GetCredentialConfigsSupportedArgs) => Promise<Record<string, CredentialConfigurationSupported>>;
|
|
739
748
|
declare const getCredentialConfigsSupported: (args: GetCredentialConfigsSupportedArgs) => Promise<Array<Record<string, CredentialConfigurationSupported>>>;
|
|
@@ -784,4 +793,4 @@ declare class OID4VCIHolderLinkHandler extends LinkHandlerAdapter {
|
|
|
784
793
|
}): Promise<void>;
|
|
785
794
|
}
|
|
786
795
|
|
|
787
|
-
export { type AccessTokenOpts, type AddContactIdentityArgs, type AssertValidCredentialsArgs, type Attribute, type AuthorizationResponseEvent, type ContactAliasEvent, type ContactConsentEvent, type CreateConfigArgs, type CreateContactEvent, type CreateCredentialsToSelectFromArgs, type CreateFirstPartyMachineOpts, type CreateIdentifierArgs, type CreateIdentifierCreateOpts, type CreateIdentifierOpts, type CreateOID4VCIMachineOpts, type CredentialToAccept, type CredentialToSelectFromResult, type CredentialVerificationError, type DeclineEvent, type DefaultIssuanceOpts, type DidAgents, type DynamicRegistrationClientMetadataDisplay, type ErrorDetails, type FirstPartyDeclineEvent, type FirstPartyMachineContext, type FirstPartyMachineEventTypes, FirstPartyMachineEvents, type FirstPartyMachineInterpreter, type FirstPartyMachineNavigationArgs, type FirstPartyMachineServiceDefinitions, FirstPartyMachineServices, type FirstPartyMachineState, type FirstPartyMachineStateNavigationListener, FirstPartyMachineStateTypes, type FirstPartyMachineStates, type FirstPartyMachineStatesConfig, type FirstPartyNextEvent, type FirstPartyPreviousEvent, type FirstPartySelectCredentialsEvent, type FirstPartyStateMachine, type GetAuthenticationKeyArgs, type GetBasicIssuerLocaleBrandingArgs, type GetContactArgs, type GetCredentialArgs, type GetCredentialBrandingArgs, type GetCredentialConfigsSupportedArgs, type GetCredentialConfigsSupportedBySingleTypeOrIdArgs, type GetCredentialsArgs, type GetDefaultIssuanceOptsArgs, type GetFederationTrustArgs, type GetIdentifierArgs, type GetIssuanceCryptoSuiteArgs, type GetIssuanceDidMethodArgs, type GetIssuanceOptsArgs, type GetIssuerBrandingArgs, type GetIssuerMetadataArgs, type GetMachineArgs, type GetOrCreatePrimaryIdentifierArgs, type GetPreferredCredentialFormatsArgs, type GetSiopRequestArgs, type IOID4VCIHolder, IdentifierAliasEnum, type InstanceFirstPartyMachineOpts, type InvokeAuthorizationRequestEvent, type IssuanceOpts, type IssuerLocaleBrandingFromArgs, type IssuerType, type MapCredentialToAcceptArgs, type MappedCredentialToAccept, type NextEvent, OID4VCICallbackStateListener, type OID4VCIContext, OID4VCIHolder, OID4VCIHolderEvent, OID4VCIHolderLinkHandler, type OID4VCIHolderOptions, type OID4VCIMachine, OID4VCIMachineAddContactStates, type OID4VCIMachineContext, type OID4VCIMachineEventTypes, OID4VCIMachineEvents, OID4VCIMachineGuards, type OID4VCIMachineInstanceOpts, type OID4VCIMachineInterpreter, type OID4VCIMachineNavigationArgs, type OID4VCIMachineServiceDefinitions, OID4VCIMachineServices, type OID4VCIMachineState, type OID4VCIMachineStateNavigationListener, OID4VCIMachineStates, OID4VCIMachineVerifyPinStates, type OID4VCIProviderProps, type OID4VCIStateMachine, type Oid4vciCombineDisplayLocalesFromArgs, type Oid4vciCredentialDisplayLocalesFromArgs, type Oid4vciCredentialLocaleBrandingFromArgs, type Oid4vciGetCredentialBrandingFromArgs, type Oid4vciIssuerCredentialSubjectLocalesFromArgs, type OnContactIdentityCreatedArgs, type OnCredentialStoredArgs, type OnIdentifierCreatedArgs, type PrepareStartArgs, type PreviousEvent, type RequestData, RequestType, type RequiredContext, type SdJwtCombineDisplayLocalesFromArgs, type SdJwtCredentialClaimLocalesFromArgs, type SdJwtCredentialDisplayLocalesFromArgs, type SdJwtCredentialLocaleBrandingFromArgs, type SdJwtGetCredentialBrandingFromArgs, type SelectAppLocaleBrandingArgs, type SelectCredentialsEvent, type SendAuthorizationChallengeRequestArgs, type SendAuthorizationResponseArgs, type SendNotificationArgs, type SetAuthorizationCodeURLEvent, type SiopV2AuthorizationRequestData, type StartFirstPartApplicationMachine, type StartResult, type StoreCredentialBrandingArgs, type StoreCredentialsArgs, type StoreIssuerBrandingArgs, SupportedLanguage, type VerificationCodeEvent, type VerificationResult, type VerificationSubResult, type VerifyCredentialArgs, type VerifyCredentialToAcceptArgs, type VerifyEBSICredentialIssuerArgs, type VerifyEBSICredentialIssuerResult, type VerifyMdocArgs, type VerifySDJWTCredentialArgs, createConfig, getBasicIssuerLocaleBranding, getCredentialBranding, getCredentialConfigsBasedOnFormatPref, getCredentialConfigsSupported, getCredentialConfigsSupportedBySingleTypeOrId, getCredentialConfigsSupportedMerged, getIdentifierOpts, getIssuanceCryptoSuite, getIssuanceMethod, getIssuanceOpts, getSiopRequest, issuerLocaleBrandingFrom, mapCredentialToAccept, oid4vciCombineDisplayLocalesFrom, oid4vciCredentialDisplayLocalesFrom, oid4vciCredentialLocaleBrandingFrom, oid4vciGetCredentialBrandingFrom, oid4vciHolderContextMethods, oid4vciIssuerCredentialSubjectLocalesFrom, sdJwtCombineDisplayLocalesFrom, sdJwtCredentialClaimLocalesFrom, sdJwtCredentialDisplayLocalesFrom, sdJwtCredentialLocaleBrandingFrom, sdJwtGetCredentialBrandingFrom, selectCredentialLocaleBranding, sendAuthorizationChallengeRequest, sendAuthorizationResponse, signCallback, startFirstPartApplicationMachine, verifyCredentialToAccept };
|
|
796
|
+
export { type AccessTokenOpts, type AddContactIdentityArgs, type AssertValidCredentialsArgs, type Attribute, type AuthorizationResponseEvent, type ContactAliasEvent, type ContactConsentEvent, type CreateConfigArgs, type CreateContactEvent, type CreateCredentialsToSelectFromArgs, type CreateFirstPartyMachineOpts, type CreateIdentifierArgs, type CreateIdentifierCreateOpts, type CreateIdentifierOpts, type CreateOID4VCIMachineOpts, type CredentialToAccept, type CredentialToSelectFromResult, type CredentialVerificationError, type DeclineEvent, type DefaultIssuanceOpts, type DidAgents, type DynamicRegistrationClientMetadataDisplay, type ErrorDetails, type FirstPartyDeclineEvent, type FirstPartyMachineContext, type FirstPartyMachineEventTypes, FirstPartyMachineEvents, type FirstPartyMachineInterpreter, type FirstPartyMachineNavigationArgs, type FirstPartyMachineServiceDefinitions, FirstPartyMachineServices, type FirstPartyMachineState, type FirstPartyMachineStateNavigationListener, FirstPartyMachineStateTypes, type FirstPartyMachineStates, type FirstPartyMachineStatesConfig, type FirstPartyNextEvent, type FirstPartyPreviousEvent, type FirstPartySelectCredentialsEvent, type FirstPartyStateMachine, type GetAuthenticationKeyArgs, type GetBasicIssuerLocaleBrandingArgs, type GetContactArgs, type GetCredentialArgs, type GetCredentialBrandingArgs, type GetCredentialConfigsSupportedArgs, type GetCredentialConfigsSupportedBySingleTypeOrIdArgs, type GetCredentialsArgs, type GetDefaultIssuanceOptsArgs, type GetFederationTrustArgs, type GetIdentifierArgs, type GetIssuanceCryptoSuiteArgs, type GetIssuanceDidMethodArgs, type GetIssuanceOptsArgs, type GetIssuerBrandingArgs, type GetIssuerMetadataArgs, type GetMachineArgs, type GetOrCreatePrimaryIdentifierArgs, type GetPreferredCredentialFormatsArgs, type GetSiopRequestArgs, type IOID4VCIHolder, IdentifierAliasEnum, type InstanceFirstPartyMachineOpts, type InvokeAuthorizationRequestEvent, type IssuanceOpts, type IssuerLocaleBrandingFromArgs, type IssuerType, type MapCredentialToAcceptArgs, type MappedCredentialToAccept, type NextEvent, OID4VCICallbackStateListener, type OID4VCIContext, OID4VCIHolder, OID4VCIHolderEvent, OID4VCIHolderLinkHandler, type OID4VCIHolderOptions, type OID4VCIMachine, OID4VCIMachineAddContactStates, type OID4VCIMachineContext, type OID4VCIMachineEventTypes, OID4VCIMachineEvents, OID4VCIMachineGuards, type OID4VCIMachineInstanceOpts, type OID4VCIMachineInterpreter, type OID4VCIMachineNavigationArgs, type OID4VCIMachineServiceDefinitions, OID4VCIMachineServices, type OID4VCIMachineState, type OID4VCIMachineStateNavigationListener, OID4VCIMachineStates, OID4VCIMachineVerifyPinStates, type OID4VCIProviderProps, type OID4VCIStateMachine, type Oid4vciCombineDisplayLocalesFromArgs, type Oid4vciCredentialDisplayLocalesFromArgs, type Oid4vciCredentialLocaleBrandingFromArgs, type Oid4vciGetCredentialBrandingFromArgs, type Oid4vciIssuerCredentialSubjectLocalesFromArgs, type OnContactIdentityCreatedArgs, type OnCredentialStoredArgs, type OnIdentifierCreatedArgs, type PrepareAuthorizationRequestArgs, type PrepareAuthorizationResult, type PrepareStartArgs, type PreviousEvent, type RequestData, RequestType, type RequiredContext, type SdJwtCombineDisplayLocalesFromArgs, type SdJwtCredentialClaimLocalesFromArgs, type SdJwtCredentialDisplayLocalesFromArgs, type SdJwtCredentialLocaleBrandingFromArgs, type SdJwtGetCredentialBrandingFromArgs, type SelectAppLocaleBrandingArgs, type SelectCredentialsEvent, type SendAuthorizationChallengeRequestArgs, type SendAuthorizationResponseArgs, type SendNotificationArgs, type SetAuthorizationCodeURLEvent, type SiopV2AuthorizationRequestData, type StartFirstPartApplicationMachine, type StartResult, type StoreCredentialBrandingArgs, type StoreCredentialsArgs, type StoreIssuerBrandingArgs, SupportedLanguage, type VerificationCodeEvent, type VerificationResult, type VerificationSubResult, type VerifyCredentialArgs, type VerifyCredentialToAcceptArgs, type VerifyEBSICredentialIssuerArgs, type VerifyEBSICredentialIssuerResult, type VerifyMdocArgs, type VerifySDJWTCredentialArgs, createConfig, extractCredentialFromResponse, getBasicIssuerLocaleBranding, getCredentialBranding, getCredentialConfigsBasedOnFormatPref, getCredentialConfigsSupported, getCredentialConfigsSupportedBySingleTypeOrId, getCredentialConfigsSupportedMerged, getIdentifierOpts, getIssuanceCryptoSuite, getIssuanceMethod, getIssuanceOpts, getSiopRequest, issuerLocaleBrandingFrom, mapCredentialToAccept, oid4vciCombineDisplayLocalesFrom, oid4vciCredentialDisplayLocalesFrom, oid4vciCredentialLocaleBrandingFrom, oid4vciGetCredentialBrandingFrom, oid4vciHolderContextMethods, oid4vciIssuerCredentialSubjectLocalesFrom, sdJwtCombineDisplayLocalesFrom, sdJwtCredentialClaimLocalesFrom, sdJwtCredentialDisplayLocalesFrom, sdJwtCredentialLocaleBrandingFrom, sdJwtGetCredentialBrandingFrom, selectCredentialLocaleBranding, sendAuthorizationChallengeRequest, sendAuthorizationResponse, signCallback, startFirstPartApplicationMachine, verifyCredentialToAccept };
|