This repository was archived by the owner on Oct 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcerberus-api.yaml
More file actions
1861 lines (1859 loc) · 64.8 KB
/
cerberus-api.yaml
File metadata and controls
1861 lines (1859 loc) · 64.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
openapi: 3.0.2
info:
title: cerberus-api
version: 1.0.0
description: Cerberus Admin APIs. Designed to work with cerberus installation and
implemented by cerberus-api application.
contact:
name: Prasenjit Purohit
url: https://www.prasenjit.net
email: prasenjit@prasenjit.net
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0
paths:
/v1/api/scopes/{id}:
summary: Path used to manage a single Scope.
description: The REST endpoint/path used to get, update, and delete single instances
of an `Scope`. This path contains `GET`, `PUT`, and `DELETE` operations used
to perform the get, update, and delete tasks, respectively.
get:
tags:
- superuser
- scope
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/Scope'
description: Successful response - returns a single `Scope`.
operationId: get-scope
summary: Get a Scope
description: Gets the details of a single instance of a `Scope`.
put:
requestBody:
description: Updated `Scope` information.
content:
application/json:
schema:
$ref: '#/components/schemas/Scope'
required: true
tags:
- superuser
- scope
responses:
"202":
description: Successful response.
operationId: update-scope
summary: Update a Scope
description: Updates an existing `Scope`.
delete:
tags:
- superuser
- scope
responses:
"204":
description: Successful response.
operationId: delete-scope
summary: Delete a Scope
description: Deletes an existing `Scope`.
parameters:
- name: id
description: A unique identifier for a `Scope`.
schema:
type: integer
in: path
required: true
/v1/api/users/{id}/password:
summary: Path user to change user password
description: The REST endpoint is used to update the password of the user with
the method `POST`.
post:
requestBody:
description: Change password request
content:
application/json:
schema:
$ref: '#/components/schemas/ChangePasswordRequest'
required: true
tags:
- anyuser
- user
responses:
"202":
description: Success Response
"401":
$ref: '#/components/responses/UnAuthorized'
operationId: change-user-password
summary: Change Password
description: Change user password
parameters:
- name: id
description: user id
schema:
type: integer
in: path
required: true
/v1/api/users/{id}/status:
summary: Path user to change user status
description: The REST endpoint is used to update the status of the user with the
method `POST`.
post:
requestBody:
description: As a super user change user activate
content:
application/json:
schema:
$ref: '#/components/schemas/UserStatusUpdate'
required: true
tags:
- superuser
- user
responses:
"200":
description: Success Response
"401":
$ref: '#/components/responses/UnAuthorized'
"403":
$ref: '#/components/responses/UnAuthorized'
operationId: update-user-status
summary: Update status
description: As a previledged user, update the status of other users.
parameters:
- name: id
description: user id
schema:
type: integer
in: path
required: true
/v1/api/users/recover/password:
summary: Path user to recover the password of a user
description: This path contains the APIs to recover the password of a user, in
the situation when the password is forgotten.
put:
requestBody:
description: Reset password request
content:
application/json:
schema:
$ref: '#/components/schemas/UserResetPassword'
required: true
tags:
- anonymous
- user
responses:
"200":
description: Success Response
"400":
$ref: '#/components/responses/UnAuthorized'
security:
- {}
operationId: reset-user-password
summary: Reset password, after recovery
description: Operation to reset password after a successful recovery attempt
post:
requestBody:
description: Initiate password request
content:
application/json:
schema:
$ref: '#/components/schemas/UserRecoverPassword'
required: true
tags:
- anonymous
- user
responses:
"200":
description: Confirmation email sent
security:
- {}
operationId: initiate-password-recovery
summary: Initiate Password Recovery
description: Initiates password recover by sending a communication through prefered
communication channel
/v1/api/users/{id}:
summary: Path used to manage a single User.
description: The REST endpoint/path used to get, update, and delete single instances
of an `User`. This path contains `GET`, `PUT`, and `DELETE` operations used
to perform the get, update, and delete tasks, respectively.
get:
tags:
- superuser
- anyuser
- user
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/User'
description: Successful response - returns a single `User`.
operationId: get-user
summary: Get a User
description: Gets the details of a single instance of a `User`.
put:
requestBody:
description: Updated `User` information.
content:
application/json:
schema:
$ref: '#/components/schemas/User'
required: true
tags:
- superuser
- user
responses:
"202":
description: Successful response.
operationId: update-user
summary: Update a User
description: Updates an existing `User`.
delete:
tags:
- superuser
- user
responses:
"204":
description: Successful response.
operationId: delete-user
summary: Delete a User
description: Deletes an existing `User`.
parameters:
- name: id
description: A unique identifier for a `User`.
schema:
type: integer
in: path
required: true
/v1/api/claims/{id}:
summary: Path used to manage a single Claim.
description: The REST endpoint/path used to get, update, and delete single instances
of an `Claim`. This path contains `GET`, `PUT`, and `DELETE` operations used
to perform the get, update, and delete tasks, respectively.
get:
tags:
- superuser
- claim
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/Claim'
description: Successful response - returns a single `Claim`.
operationId: get-claim
summary: Get a Claim
description: Gets the details of a single instance of a `Claim`.
put:
requestBody:
description: Updated `Claim` information.
content:
application/json:
schema:
$ref: '#/components/schemas/Claim'
required: true
tags:
- superuser
- claim
responses:
"202":
description: Successful response.
operationId: update-claim
summary: Update a Claim
description: Updates an existing `Claim`.
delete:
tags:
- superuser
- claim
responses:
"204":
description: Successful response.
operationId: delete-claim
summary: Delete a Claim
description: Deletes an existing `Claim`.
parameters:
- name: id
description: A unique identifier for a `Claim`.
schema:
type: integer
in: path
required: true
/v1/api/scopes:
summary: Path used to manage the list of scopes.
description: The REST endpoint/path used to list and create zero or more `Scope`
entities. This path contains a `GET` and `POST` operation to perform the list
and create tasks, respectively.
get:
tags:
- superuser
- scope
parameters:
- name: page_size
description: |-
Number of items in each page.
Default value is 10.
schema:
type: integer
in: query
required: false
- name: page_number
description: |-
Page number to return in response.
Starts with 1 and default value is 1 too.
schema:
type: integer
in: query
required: false
responses:
"200":
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Scope'
description: Successful response - returns an array of `Scope` entities.
operationId: get-scopes
summary: List All scopes
description: Gets a list of all `Scope` entities.
post:
requestBody:
description: A new `Scope` to be created.
content:
application/json:
schema:
$ref: '#/components/schemas/Scope'
required: true
tags:
- superuser
- scope
responses:
"201":
description: Successful response.
operationId: create-scope
summary: Create a Scope
description: Creates a new instance of a `Scope`.
/v1/api/users:
summary: Path used to manage the list of users.
description: The REST endpoint/path used to list and create zero or more `User`
entities. This path contains a `GET` and `POST` operation to perform the list
and create tasks, respectively.
get:
tags:
- superuser
- user
parameters:
- name: page_size
description: |-
Number of items in each page.
Default value is 10.
schema:
type: integer
in: query
required: false
- name: page_number
description: |-
Page number to return in response.
Starts with 1 and default value is 1 too.
schema:
type: integer
in: query
required: false
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/UserSummaryPage'
description: Successful response - returns an array of `User` entities.
operationId: get-users
summary: List All users
description: Gets a list of all `User` entities.
post:
requestBody:
description: A new `User` to be created.
content:
application/json:
schema:
$ref: '#/components/schemas/User'
required: true
tags:
- superuser
- user
responses:
"201":
description: Successful response.
operationId: create-user
summary: Create a User
description: Creates a new instance of a `User`.
/v1/api/claims:
summary: Path used to manage the list of claims.
description: The REST endpoint/path used to list and create zero or more `Claim`
entities. This path contains a `GET` and `POST` operation to perform the list
and create tasks, respectively.
get:
tags:
- superuser
- claim
parameters:
- name: page_size
description: |-
Number of items in each page.
Default value is 10.
schema:
type: integer
in: query
required: false
- name: page_number
description: |-
Page number to return in response.
Starts with 1 and default value is 1 too.
schema:
type: integer
in: query
required: false
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ClaimPage'
description: Successful response - returns an array of `Claim` entities.
operationId: get-claims
summary: List All claims
description: Gets a list of all `Claim` entities.
post:
requestBody:
description: A new `Claim` to be created.
content:
application/json:
schema:
$ref: '#/components/schemas/Claim'
examples:
ex1:
value:
name: some text
description: some text
required: true
tags:
- superuser
- claim
responses:
"201":
description: Successful response.
operationId: create-claim
summary: Create a Claim
description: Creates a new instance of a `Claim`.
/v1/api/serviceproviders/{id}:
summary: Path used to manage a single ServiceProvider.
description: The REST endpoint/path used to get, update, and delete single instances
of an `ServiceProvider`. This path contains `GET`, `PUT`, and `DELETE` operations
used to perform the get, update, and delete tasks, respectively.
get:
tags:
- service-provider
- superuser
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProvider'
description: Successful response - returns a single `ServiceProvider`.
operationId: get-service-provider
summary: Get a ServiceProvider
description: Gets the details of a single instance of a `ServiceProvider`.
put:
requestBody:
description: Updated `ServiceProvider` information.
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProvider'
required: true
tags:
- service-provider
- superuser
responses:
"202":
description: Successful response.
operationId: update-service-provider
summary: Update a ServiceProvider
description: Updates an existing `ServiceProvider`.
delete:
tags:
- service-provider
- superuser
responses:
"204":
description: Successful response.
operationId: delete-service-provider
summary: Delete a ServiceProvider
description: Deletes an existing `ServiceProvider`.
patch:
requestBody:
description: partial object is accepted in patch operation
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProvider'
required: true
tags:
- service-provider
- superuser
responses:
"202":
description: Success Response
operationId: patch-service-provider
summary: Patch service provider
description: Patching an existing `ServiceProvider`.
parameters:
- name: id
description: A unique identifier for a `ServiceProvider`.
schema:
type: integer
in: path
required: true
/v1/api/serviceproviders/{id}/credentials:
summary: Path used to manage credential of a single Client.
description: The REST endpoint/path used to generate client id and secret of single
instances of an `Client`. This path contains `PUT` operation to perform the
refresh.
get:
tags:
- service-provider
- superuser
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProviderCredentials'
description: Seccess Response
operationId: get-credentials
summary: Retrieves the existing credentials
description: This API retrieves the existing credentials as the service provider
has. This API can noly be called for a private service provider.
put:
requestBody:
description: No request body
required: false
tags:
- superuser
- service-provider
parameters:
- name: refresh_id
description: Indicates wheather to refresh the client_id of not. Default is
`false`.
schema:
type: boolean
in: query
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProviderCredentials'
description: Success Response
operationId: generate-credentials
summary: Update a Client
description: Updates an existing `Client`.
parameters:
- name: id
description: A unique identifier for a `Client`.
schema:
type: integer
in: path
required: true
/v1/api/serviceproviders:
summary: Path used to manage the list of serviceproviders.
description: The REST endpoint/path used to list and create zero or more `ServiceProvider`
entities. This path contains a `GET` and `POST` operation to perform the list
and create tasks, respectively.
get:
tags:
- service-provider
- superuser
parameters:
- name: page_size
description: |-
Number of items in each page.
Default value is 10.
schema:
type: integer
in: query
required: false
- name: page_number
description: |-
Page number to return in response.
Starts with 1 and default value is 1 too.
schema:
type: integer
in: query
required: false
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProviderSummaryPage'
description: Successful response - returns an array of `ServiceProvider`
entities.
operationId: get-service-providers
summary: List All serviceproviders
description: Gets a list of all `ServiceProvider` entities.
post:
requestBody:
description: A new `ServiceProvider` to be created.
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProvider'
required: true
tags:
- service-provider
- superuser
responses:
"201":
description: Successful response.
operationId: create-service-provider
summary: Create a ServiceProvider
description: Creates a new instance of a `ServiceProvider`.
/v1/api/claims/find:
summary: Used to find a claim with name
description: Used to find a claim with name
get:
tags:
- claim
- service-provider
parameters:
- name: name
description: name of the claim
schema:
type: string
in: query
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/Claim'
examples:
ex1:
value:
name: some text
description: some text
id: 24
description: Success Response
operationId: find-claim-by-name
summary: find claim by name
description: find claim by name
/v1/api/scopes/find:
summary: Used to find a scope with name
description: Used to find a scope with name
get:
tags:
- scope
- superuser
parameters:
- name: name
description: scope name
schema:
type: string
in: query
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/Scope'
examples:
ex1:
value:
name: some text
description: some text
id: 61
description: Success Response
operationId: find-scope-by-name
summary: Used to find a scope with name
description: Used to find a scope with name
/v1/api/scopes/{id}/claim/{claimId}:
summary: This path is for claim configuration of scope
description: This path is for claim configuration of scope
put:
requestBody:
description: Only the id field is nough for claim
required: false
tags:
- claim
- scope
- superuser
responses:
"204":
description: Success
operationId: add-claim-to-scope
summary: Add one claim to scope
description: Add one claim to scope
delete:
tags:
- claim
- scope
- superuser
responses:
"204":
description: Success Response
operationId: remove-claim-from-scope
summary: Remove one claim from scope
description: Remove one claim from scope
parameters:
- name: id
description: scope id to add or remove claime
schema:
type: integer
in: path
required: true
- name: claimId
description: claim to to add or remove
schema:
type: integer
in: path
required: true
/v1/api/serviceproviders/{id}/activate:
summary: Activate or deactivate a service provider
description: Activate or deactivate a service provider
post:
tags:
- service-provider
- superuser
responses:
"202":
description: Success
operationId: activate-service-provider
summary: Activate a service provider
description: Activate a service provider
delete:
tags:
- service-provider
- superuser
responses:
"202":
description: Success
operationId: deactivate-service-provider
summary: deactivate service provider
description: deactivate service provider
parameters:
- name: id
description: service provider id
schema:
type: integer
in: path
required: true
/v1/api/serviceproviders/find:
summary: Find a service provider by name or client id
description: Find a service provider by name or client id
get:
tags:
- service-provider
- superuser
parameters:
- name: name
description: service provider name
schema:
type: string
in: query
- name: client_id
description: service provider client id
schema:
type: integer
in: query
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceProvider'
description: Success
operationId: find-service-provider
summary: find sp by client id or name
description: |-
find sp by client id or name
only one parameter is used to find a SP
API doesnt expect the both parameter to be present
/v1/api/users/find:
summary: find user by username or email id
description: find user by username or email id
get:
tags:
- user
- superuser
parameters:
- name: username
description: Username of the user
schema:
type: string
in: query
- name: email
description: email of the user
schema:
type: string
in: query
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/User'
description: Success
operationId: find-user
summary: find user by username or email id
description: |-
find user by username or email id
Only one query parameter is accepted
/v1/api/secretchannels/{id}:
summary: Path used to manage a single SecretChannel.
description: The REST endpoint/path used to get, update, and delete single instances
of an `SecretChannel`. This path contains `GET`, `PUT`, and `DELETE` operations
used to perform the get, update, and delete tasks, respectively.
get:
tags:
- secret_channel
- superuser
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SecretChannel'
description: Successful response - returns a single `SecretChannel`.
operationId: get-secret-channel
summary: Get a SecretChannel
description: Gets the details of a single instance of a `SecretChannel`.
put:
requestBody:
description: Updated `SecretChannel` information.
content:
application/json:
schema:
$ref: '#/components/schemas/SecretChannel'
required: true
tags:
- secret_channel
- superuser
responses:
"202":
description: Successful response.
operationId: update-secret-channel
summary: Update a SecretChannel
description: Updates an existing `SecretChannel`.
post:
tags:
- secret_channel
- superuser
responses:
"204":
description: Seccess
operationId: renew-secret-channel
summary: Renew the secret of the channel
description: Renew the secret of the channel
delete:
tags:
- secret_channel
- superuser
responses:
"204":
description: Successful response.
operationId: delete-secret-channel
summary: Delete a SecretChannel
description: Deletes an existing `SecretChannel`.
parameters:
- name: id
description: A unique identifier for a `SecretChannel`.
schema:
type: string
in: path
required: true
/v1/api/secretchannels/find/name:
summary: Fins secret by name
description: Fins secret by name
get:
tags:
- secret_channel
- superuser
parameters:
- name: name
description: name of the secret channel
schema:
type: string
in: query
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SecretChannel'
description: Seccess
operationId: find-secret-channel-by-name
summary: Fins secret by name
description: Fins secret by name
/v1/api/secretchannels/find/algouse:
summary: Find secret channel by algo and use
description: Find secret channel by algo and use
get:
tags:
- superuser
- secret_channel
parameters:
- name: algo
description: algorithm of the channel
schema:
type: string
in: query
required: true
- name: use
description: usage of the secret channel
schema:
enum:
- sig
- enc
type: string
in: query
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SecretChannel'
description: Seccess
operationId: find-secret-channel-by-algouse
summary: Find secret channel by algo and use
description: Find secret channel by algo and use
/v1/api/secretchannels:
summary: Path used to manage the list of secretchannels.
description: The REST endpoint/path used to list and create zero or more `SecretChannel`
entities. This path contains a `GET` and `POST` operation to perform the list
and create tasks, respectively.
get:
tags:
- secret_channel
- superuser
parameters:
- name: page_size
description: |-
Number of items in each page.
Default value is 10.
schema:
type: integer
in: query
required: false
- name: page_number
description: |-
Page number to return in response.
Starts with 1 and default value is 1 too.
schema:
type: integer
in: query
required: false
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/SecretChannelPage'
description: Successful response - returns an array of `SecretChannel` entities.
operationId: get-secret-channels
summary: List All secretchannels
description: Gets a list of all `SecretChannel` entities.
post:
requestBody:
description: A new `SecretChannel` to be created.
content:
application/json:
schema:
$ref: '#/components/schemas/SecretChannel'
required: true
tags:
- secret_channel
- superuser
responses:
"201":
description: Successful response.
operationId: create-secret-channel
summary: Create a SecretChannel
description: Creates a new instance of a `SecretChannel`.
components:
schemas:
UserSummary:
title: Root Type for UserSummary
description: A summary representation of user object
type: object
properties:
username:
description: Login username
type: string