@@ -277,7 +277,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
277
277
key = {
278
278
/**
279
279
* @description Revoke an Authentiq ID using email & phone. If called with `email` and `phone` only, a verification code will be sent by email. Do a second call adding `code` to complete the revocation.
280
- *
280
+ *
281
281
* @tags key, delete
282
282
* @name KeyRevokeNosecret
283
283
* @request DELETE:/key
@@ -289,7 +289,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
289
289
* @response `401` `Error` Authentication error `auth-error`
290
290
* @response `404` `Error` Unknown key `unknown-key`
291
291
* @response `409` `Error` Confirm with code sent `confirm-first`
292
- * @response `default` `Error`
292
+ * @response `default` `Error`
293
293
*/
294
294
keyRevokeNosecret : (
295
295
query : {
@@ -318,7 +318,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
318
318
319
319
/**
320
320
* @description Register a new ID `JWT(sub, devtoken)` v5: `JWT(sub, pk, devtoken, ...)` See: https://github.com/skion/authentiq/wiki/JWT-Examples
321
- *
321
+ *
322
322
* @tags key, post
323
323
* @name KeyRegister
324
324
* @request POST:/key
@@ -330,7 +330,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
330
330
331
331
}` Successfully registered
332
332
* @response `409` `Error` Key already registered `duplicate-key`
333
- * @response `default` `Error`
333
+ * @response `default` `Error`
334
334
*/
335
335
keyRegister : ( body : AuthentiqID , params : RequestParams = { } ) =>
336
336
this . request <
@@ -351,7 +351,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
351
351
352
352
/**
353
353
* @description Revoke an Identity (Key) with a revocation secret
354
- *
354
+ *
355
355
* @tags key, delete
356
356
* @name KeyRevoke
357
357
* @request DELETE:/key/{PK}
@@ -362,7 +362,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
362
362
}` Successful response
363
363
* @response `401` `Error` Key not found / wrong code `auth-error`
364
364
* @response `404` `Error` Unknown key `unknown-key`
365
- * @response `default` `Error`
365
+ * @response `default` `Error`
366
366
*/
367
367
keyRevoke : (
368
368
pk : string ,
@@ -388,7 +388,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
388
388
389
389
/**
390
390
* @description Get public details of an Authentiq ID.
391
- *
391
+ *
392
392
* @tags key, get
393
393
* @name GetKey
394
394
* @request GET:/key/{PK}
@@ -402,7 +402,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
402
402
}` Successfully retrieved
403
403
* @response `404` `Error` Unknown key `unknown-key`
404
404
* @response `410` `Error` Key is revoked (gone). `revoked-key`
405
- * @response `default` `Error`
405
+ * @response `default` `Error`
406
406
*/
407
407
getKey : ( pk : string , params : RequestParams = { } ) =>
408
408
this . request <
@@ -441,7 +441,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
441
441
442
442
/**
443
443
* @description update properties of an Authentiq ID. (not operational in v4; use PUT for now) v5: POST issuer-signed email & phone scopes in a self-signed JWT See: https://github.com/skion/authentiq/wiki/JWT-Examples
444
- *
444
+ *
445
445
* @tags key, post
446
446
* @name KeyUpdate
447
447
* @request POST:/key/{PK}
@@ -451,7 +451,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
451
451
452
452
}` Successfully updated
453
453
* @response `404` `Error` Unknown key `unknown-key`
454
- * @response `default` `Error`
454
+ * @response `default` `Error`
455
455
*/
456
456
keyUpdate : ( pk : string , body : AuthentiqID , params : RequestParams = { } ) =>
457
457
this . request <
@@ -470,7 +470,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
470
470
471
471
/**
472
472
* @description Update Authentiq ID by replacing the object. v4: `JWT(sub,email,phone)` to bind email/phone hash; v5: POST issuer-signed email & phone scopes and PUT to update registration `JWT(sub, pk, devtoken, ...)` See: https://github.com/skion/authentiq/wiki/JWT-Examples
473
- *
473
+ *
474
474
* @tags key, put
475
475
* @name KeyBind
476
476
* @request PUT:/key/{PK}
@@ -481,7 +481,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
481
481
}` Successfully updated
482
482
* @response `404` `Error` Unknown key `unknown-key`
483
483
* @response `409` `Error` Already bound to another key `duplicate-hash`
484
- * @response `default` `Error`
484
+ * @response `default` `Error`
485
485
*/
486
486
keyBind : ( pk : string , body : AuthentiqID , params : RequestParams = { } ) =>
487
487
this . request <
@@ -501,7 +501,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
501
501
login = {
502
502
/**
503
503
* @description push sign-in request See: https://github.com/skion/authentiq/wiki/JWT-Examples
504
- *
504
+ *
505
505
* @tags login, post
506
506
* @name PushLoginRequest
507
507
* @request POST:/login
@@ -511,7 +511,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
511
511
512
512
}` Successful response
513
513
* @response `401` `Error` Unauthorized for this callback audience `aud-error` or JWT should be self-signed `auth-error`
514
- * @response `default` `Error`
514
+ * @response `default` `Error`
515
515
*/
516
516
pushLoginRequest : (
517
517
query : {
@@ -539,7 +539,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
539
539
scope = {
540
540
/**
541
541
* @description scope verification request See: https://github.com/skion/authentiq/wiki/JWT-Examples
542
- *
542
+ *
543
543
* @tags scope, post
544
544
* @name SignRequest
545
545
* @request POST:/scope
@@ -551,7 +551,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
551
551
552
552
}` Successful response
553
553
* @response `429` `Error` Too Many Requests on same address / number `rate-limit`
554
- * @response `default` `Error`
554
+ * @response `default` `Error`
555
555
*/
556
556
signRequest : (
557
557
body : Claims ,
@@ -580,7 +580,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
580
580
581
581
/**
582
582
* @description delete a verification job
583
- *
583
+ *
584
584
* @tags scope, delete
585
585
* @name SignDelete
586
586
* @request DELETE:/scope/{job}
@@ -590,7 +590,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
590
590
591
591
}` Successfully deleted
592
592
* @response `404` `Error` Job not found `unknown-job`
593
- * @response `default` `Error`
593
+ * @response `default` `Error`
594
594
*/
595
595
signDelete : ( job : string , params : RequestParams = { } ) =>
596
596
this . request <
@@ -608,7 +608,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
608
608
609
609
/**
610
610
* @description get the status / current content of a verification job
611
- *
611
+ *
612
612
* @tags scope, get
613
613
* @name SignRetrieve
614
614
* @request GET:/scope/{job}
@@ -621,7 +621,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
621
621
}` Successful response (JWT)
622
622
* @response `204` `void` Confirmed, waiting for signing
623
623
* @response `404` `Error` Job not found `unknown-job`
624
- * @response `default` `Error`
624
+ * @response `default` `Error`
625
625
*/
626
626
signRetrieve : ( job : string , params : RequestParams = { } ) =>
627
627
this . request <
@@ -659,7 +659,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
659
659
660
660
/**
661
661
* @description this is a scope confirmation
662
- *
662
+ *
663
663
* @tags scope, post
664
664
* @name SignConfirm
665
665
* @request POST:/scope/{job}
@@ -671,7 +671,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
671
671
* @response `401` `Error` Confirmation error `auth-error`
672
672
* @response `404` `Error` Job not found `unknown-job`
673
673
* @response `405` `Error` JWT POSTed to scope `not-supported`
674
- * @response `default` `Error`
674
+ * @response `default` `Error`
675
675
*/
676
676
signConfirm : ( job : string , params : RequestParams = { } ) =>
677
677
this . request <
@@ -690,7 +690,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
690
690
691
691
/**
692
692
* @description authority updates a JWT with its signature See: https://github.com/skion/authentiq/wiki/JWT-Examples
693
- *
693
+ *
694
694
* @tags scope, put
695
695
* @name SignUpdate
696
696
* @request PUT:/scope/{job}
@@ -703,7 +703,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
703
703
}` Successfully updated
704
704
* @response `404` `Error` Job not found `unknown-job`
705
705
* @response `409` `Error` Job not confirmed yet `confirm-first`
706
- * @response `default` `Error`
706
+ * @response `default` `Error`
707
707
*/
708
708
signUpdate : ( job : string , params : RequestParams = { } ) =>
709
709
this . request <
0 commit comments