Skip to content

Commit 9f43a34

Browse files
committed
feat(coderd): add OIDCLogoutResponse
1 parent c76bae2 commit 9f43a34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

codersdk/users.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,11 @@ type UserParameter struct {
311311
Value string `json:"value"`
312312
}
313313

314+
// OIDCLogoutResponse represents the response for an OIDC logout request
315+
type OIDCLogoutResponse struct {
316+
URL string `json:"oidc_logout_url"`
317+
}
318+
314319
// UserAutofillParameters returns all recently used parameters for the given user.
315320
func (c *Client) UserAutofillParameters(ctx context.Context, user string, templateID uuid.UUID) ([]UserParameter, error) {
316321
res, err := c.Request(ctx, http.MethodGet, fmt.Sprintf("/api/v2/users/%s/autofill-parameters?template_id=%s", user, templateID), nil)

0 commit comments

Comments
 (0)