@faable/auth-sdk 1.3.2 → 1.3.4

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.
@@ -342,9 +342,12 @@ export declare class FaableAuthApi extends FaableApi {
342
342
  id: string;
343
343
  connection_name: string;
344
344
  connection_type: string;
345
- authorize_url?: string | null | undefined;
345
+ authorize_url: string;
346
+ token_url: string;
347
+ userinfo_url: string;
346
348
  client_id: string;
347
349
  client_secret: string;
350
+ response_type: string;
348
351
  scope: string[];
349
352
  authorize_params: {
350
353
  [key: string]: string;
@@ -360,9 +363,12 @@ export declare class FaableAuthApi extends FaableApi {
360
363
  id: string;
361
364
  connection_name: string;
362
365
  connection_type: string;
363
- authorize_url?: string | null | undefined;
366
+ authorize_url: string;
367
+ token_url: string;
368
+ userinfo_url: string;
364
369
  client_id: string;
365
370
  client_secret: string;
371
+ response_type: string;
366
372
  scope: string[];
367
373
  authorize_params: {
368
374
  [key: string]: string;
@@ -381,9 +387,12 @@ export declare class FaableAuthApi extends FaableApi {
381
387
  id: string;
382
388
  connection_name: string;
383
389
  connection_type: string;
384
- authorize_url?: string | null | undefined;
390
+ authorize_url: string;
391
+ token_url: string;
392
+ userinfo_url: string;
385
393
  client_id: string;
386
394
  client_secret: string;
395
+ response_type: string;
387
396
  scope: string[];
388
397
  authorize_params: {
389
398
  [key: string]: string;
@@ -400,9 +409,12 @@ export declare class FaableAuthApi extends FaableApi {
400
409
  id: string;
401
410
  connection_name: string;
402
411
  connection_type: string;
403
- authorize_url?: string | null | undefined;
412
+ authorize_url: string;
413
+ token_url: string;
414
+ userinfo_url: string;
404
415
  client_id: string;
405
416
  client_secret: string;
417
+ response_type: string;
406
418
  scope: string[];
407
419
  authorize_params: {
408
420
  [key: string]: string;
@@ -414,7 +426,9 @@ export declare class FaableAuthApi extends FaableApi {
414
426
  createdAt: string;
415
427
  updatedAt?: string | undefined;
416
428
  }>;
417
- listClients(): {
429
+ listClients(params?: {
430
+ client_id?: string;
431
+ }): {
418
432
  all: () => Promise<{
419
433
  id: string;
420
434
  name: string;
@@ -483,9 +497,12 @@ export declare class FaableAuthApi extends FaableApi {
483
497
  id: string;
484
498
  connection_name: string;
485
499
  connection_type: string;
486
- authorize_url?: string | null | undefined;
500
+ authorize_url: string;
501
+ token_url: string;
502
+ userinfo_url: string;
487
503
  client_id: string;
488
504
  client_secret: string;
505
+ response_type: string;
489
506
  scope: string[];
490
507
  authorize_params: {
491
508
  [key: string]: string;
@@ -68,8 +68,8 @@ export class FaableAuthApi extends FaableApi {
68
68
  getConection(connection_id) {
69
69
  return this.fetcher.get(`/connection/${connection_id}`);
70
70
  }
71
- listClients() {
72
- return this.paginator({ url: "/client" });
71
+ listClients(params) {
72
+ return this.paginator({ url: "/client", params });
73
73
  }
74
74
  getClient(client_id) {
75
75
  return this.fetcher.get(`/client/${client_id}`);