mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add user/settings page for managing external auth (#10945)
Also add support for unlinking on the coder side to allow reflow.
This commit is contained in:
Generated
+3
-1
@@ -19,11 +19,13 @@ curl -X GET http://coder-server:8080/api/v2/external-auth \
|
||||
|
||||
```json
|
||||
{
|
||||
"authenticated": true,
|
||||
"created_at": "2019-08-24T14:15:22Z",
|
||||
"expires": "2019-08-24T14:15:22Z",
|
||||
"has_refresh_token": true,
|
||||
"provider_id": "string",
|
||||
"updated_at": "2019-08-24T14:15:22Z"
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"validate_error": "string"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Generated
+5
-1
@@ -3005,11 +3005,13 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
|
||||
```json
|
||||
{
|
||||
"authenticated": true,
|
||||
"created_at": "2019-08-24T14:15:22Z",
|
||||
"expires": "2019-08-24T14:15:22Z",
|
||||
"has_refresh_token": true,
|
||||
"provider_id": "string",
|
||||
"updated_at": "2019-08-24T14:15:22Z"
|
||||
"updated_at": "2019-08-24T14:15:22Z",
|
||||
"validate_error": "string"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -3017,11 +3019,13 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
| ------------------- | ------- | -------- | ------------ | ----------- |
|
||||
| `authenticated` | boolean | false | | |
|
||||
| `created_at` | string | false | | |
|
||||
| `expires` | string | false | | |
|
||||
| `has_refresh_token` | boolean | false | | |
|
||||
| `provider_id` | string | false | | |
|
||||
| `updated_at` | string | false | | |
|
||||
| `validate_error` | string | false | | |
|
||||
|
||||
## codersdk.ExternalAuthUser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user