We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba533ed commit ac33947Copy full SHA for ac33947
src/rfc9421/sign.ts
@@ -32,6 +32,14 @@ export class RFC9421SignatureBaseFactory {
32
this.url = new URL(this.targetUri);
33
}
34
35
+ /**
36
+ * Return component value from component type and parameters
37
+ * @param type component type (first part of component key)
38
+ * e.g. `@method` or `"@method"`
39
+ * @param params component parameters
40
+ * e.g. ['"@query-param"', 'name="foo"'] (Result of '"@query-param";name="foo"'.split(';'))
41
+ * @returns component value
42
+ */
43
public get(
44
type: typeof RFC9421SignatureBaseFactory.availableDerivedComponents[number] | string,
45
params: string[] = [],
0 commit comments