Skip to content

Commit

Permalink
Add enum for EnabledGrant.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhorowitz committed Nov 19, 2024
1 parent ea45cff commit 982c870
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion proto/viam/app/v1/app.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1508,12 +1508,21 @@ enum URLValidation {
URL_VALIDATION_ALLOW_WILDCARDS = 2;
}

enum EnabledGrant {
ENABLED_GRANT_UNSPECIFIED = 0;
ENABLED_GRANT_AUTHORIZATION_CODE = 1;
ENABLED_GRANT_IMPLICIT = 2;
ENABLED_GRANT_PASSWORD = 3;
ENABLED_GRANT_REFRESH_TOKEN = 4;
ENABLED_GRANT_DEVICE_CODE = 5;
}

message OAuthConfig {
ClientAuthentication client_authentication = 1;
PKCE pkce = 2;
URLValidation url_validation = 3;
repeated string origin_uris = 4;
repeated string redirect_uris = 5;
string logout_uri = 6;
repeated string enabled_grants = 7;
repeated EnabledGrant enabled_grants = 7;
}

0 comments on commit 982c870

Please sign in to comment.