UNPKG

@sphereon/ssi-sdk.ebsi-support

Version:

16 lines 1.67 kB
import { OID4VCIMachine, OID4VCIMachineInterpreter, OID4VCIMachineState } from '@sphereon/ssi-sdk.oid4vci-holder'; import { Siopv2MachineInterpreter, Siopv2MachineState, Siopv2OID4VPLinkHandler } from '@sphereon/ssi-sdk.siopv2-oid4vp-op-auth'; import { IRequiredContext } from '../types/IEbsiSupport'; import { AttestationAuthRequestUrlResult } from './Attestation'; export declare const addContactCallback: (context: IRequiredContext) => (oid4vciMachine: OID4VCIMachineInterpreter, state: OID4VCIMachineState) => Promise<void>; export declare const handleErrorCallback: (context: IRequiredContext) => (oid4vciMachine: OID4VCIMachineInterpreter | Siopv2MachineInterpreter, state: OID4VCIMachineState | Siopv2MachineState) => Promise<void>; export declare const selectCredentialsCallback: (context: IRequiredContext) => (oid4vciMachine: OID4VCIMachineInterpreter, state: OID4VCIMachineState) => Promise<undefined>; export declare const authorizationCodeUrlCallback: ({ authReqResult, vpLinkHandler, }: { authReqResult: AttestationAuthRequestUrlResult; vpLinkHandler: Siopv2OID4VPLinkHandler; }, context: IRequiredContext) => (oid4vciMachine: OID4VCIMachineInterpreter, state: OID4VCIMachineState) => Promise<undefined>; export declare const reviewCredentialsCallback: (context: IRequiredContext) => (oid4vciMachine: OID4VCIMachineInterpreter, state: OID4VCIMachineState) => Promise<void>; export declare const siopDoneCallback: ({ oid4vciMachine }: { oid4vciMachine: OID4VCIMachine; }, context: IRequiredContext) => (oid4vpMachine: Siopv2MachineInterpreter, state: Siopv2MachineState) => Promise<void>; //# sourceMappingURL=AttestationHeadlessCallbacks.d.ts.map