|
1
|
get: |
|
2
|
operationId: GetUsersIdAuthProviders |
|
3
|
summary: List Auth Providers of a User |
|
4
|
x-sidebar-summary: List Auth Providers |
|
5
|
description: >- |
|
6
|
Retrieve a list of auth providers that a user can authenticate with. These |
|
7
|
represent the auth providers that the user has previously used to log in or |
|
8
|
register with the system. |
|
9
|
x-authenticated: true |
|
10
|
parameters: |
|
11
|
- name: id |
|
12
|
in: path |
|
13
|
description: The user's ID. |
|
14
|
required: true |
|
15
|
schema: |
|
16
|
type: string |
|
17
|
security: |
|
18
|
- cookie_auth: [] |
|
19
|
- jwt_token: [] |
|
20
|
x-codeSamples: |
|
21
|
- lang: JavaScript |
|
22
|
label: JS SDK |
|
23
|
source: |
|
24
|
$ref: ../code_samples/JavaScript/admin_users_{id}_auth-providers/get.js |
|
25
|
- lang: Shell |
|
26
|
label: cURL |
|
27
|
source: |
|
28
|
$ref: ../code_samples/Shell/admin_users_{id}_auth-providers/get.sh |
|
29
|
tags: |
|
30
|
- Users |
|
31
|
responses: |
|
32
|
'200': |
|
33
|
description: OK |
|
34
|
content: |
|
35
|
application/json: |
|
36
|
schema: |
|
37
|
$ref: ../components/schemas/AdminUserAuthProvidersResponse.yaml |
|
38
|
'400': |
|
39
|
$ref: ../components/responses/400_error.yaml |
|
40
|
'401': |
|
41
|
$ref: ../components/responses/unauthorized.yaml |
|
42
|
'404': |
|
43
|
$ref: ../components/responses/not_found_error.yaml |
|
44
|
'409': |
|
45
|
$ref: ../components/responses/invalid_state_error.yaml |
|
46
|
'422': |
|
47
|
$ref: ../components/responses/invalid_request_error.yaml |
|
48
|
'500': |
|
49
|
$ref: ../components/responses/500_error.yaml |
|
50
|
x-since: 2.20.0 |