Skip to content

Commit 153ac87

Browse files
committed
Add enums for client authentication, pkce, and URL validation.
1 parent f6bae8f commit 153ac87

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

proto/viam/app/v1/app.proto

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,10 +1488,30 @@ message ListOAuthAppsResponse {
14881488
repeated string ids = 1;
14891489
}
14901490

1491+
enum ClientAuthentication {
1492+
CLIENT_AUTHENTICATION_UNSPECIFIED = 0;
1493+
CLIENT_AUTHENTICATION_REQUIRED = 1;
1494+
CLIENT_AUTHENTICATION_NOT_REQUIRED = 2;
1495+
CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE = 3;
1496+
}
1497+
1498+
enum PKCE {
1499+
PKCE_UNSPECIFIED = 0;
1500+
PKCE_REQUIRED = 1;
1501+
PKCE_NOT_REQUIRED = 2;
1502+
PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION = 3;
1503+
}
1504+
1505+
enum URLValidation {
1506+
URL_VALIDATION_UNSPECIFIED = 0;
1507+
URL_VALIDATION_EXACT_MATCH = 1;
1508+
URL_VALIDATION_ALLOW_WILDCARDS = 2;
1509+
}
1510+
14911511
message OAuthConfig {
1492-
string client_authentication = 1;
1493-
string pkce = 2;
1494-
string url_validation = 3;
1512+
ClientAuthentication client_authentication = 1;
1513+
PKCE pkce = 2;
1514+
URLValidation url_validation = 3;
14951515
repeated string origin_uris = 4;
14961516
repeated string redirect_uris = 5;
14971517
string logout_uri = 6;

0 commit comments

Comments
 (0)