Skip to content

Commit 95f9e5f

Browse files
committed
update proto according to guidelines
1 parent d405f3f commit 95f9e5f

File tree

3 files changed

+195
-185
lines changed

3 files changed

+195
-185
lines changed

components/public-api/gitpod/v1/authprovider.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ message ListAuthProviderDescriptionsResponse {
7979

8080
message UpdateAuthProviderRequest {
8181
string auth_provider_id = 1;
82-
83-
OAuth2Config oauth2_config = 2;
82+
optional string client_id = 2;
83+
optional string client_secret = 3;
8484
}
8585

8686
message UpdateAuthProviderResponse {}
@@ -95,8 +95,8 @@ message AuthProviderDescription {
9595
AuthProviderType type = 4;
9696
string host = 5;
9797

98-
optional string icon = 6;
99-
optional string description = 7;
98+
string icon = 6;
99+
string description = 7;
100100
}
101101

102102
message AuthProvider {
@@ -110,9 +110,9 @@ message AuthProvider {
110110
AuthProviderType type = 4;
111111
string host = 5;
112112

113-
optional string icon = 6;
114-
optional string description = 7;
115-
optional string settings_url = 8;
113+
string icon = 6;
114+
string description = 7;
115+
string settings_url = 8;
116116

117117
bool verified = 9;
118118
bool enable_login = 10;

0 commit comments

Comments
 (0)