/** * Defines the presentation protcol */ export declare enum AuthenticationScheme { /** * basic authentication in the authorization header aka RFC 7617 */ basic = "basic", /** * use a shared secret in a custom header */ sharedSecret = "sharedSecret", /** * use did authentication */ did = "did", /** * use did authentication with proof of possession */ didPop = "didPop" } /** * Data Model to describe external service authentication */ export declare class AuthenticationModel { readonly type: AuthenticationScheme; readonly secret: string; readonly header?: string | undefined; /** * * @param type the type of shared secret * @param secret absolute url to the secret including the version * @param header the header used to transmit the secret when sharedSecret is being used */ constructor(type: AuthenticationScheme, secret: string, header?: string | undefined); /** * Populate an instance of AuthenticationModel from any instance * @param input object instance to populate from */ static fromJSON(input: any): AuthenticationModel; }