Skip to content

Commit

Permalink
add observation gotags into auth_method_service.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
sepehrfrgh committed Aug 2, 2023
1 parent fa3a0f4 commit 9977155
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions internal/gen/controller/api/services/auth_method_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ service AuthMethodService {
}

message GetAuthMethodRequest {
string id = 1; // @gotags: `class:"public"`
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
}

message GetAuthMethodResponse {
resources.authmethods.v1.AuthMethod item = 1;
}

message ListAuthMethodsRequest {
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public"`
string scope_id = 1 [json_name = "scope_id"]; // @gotags: `class:"public" eventstream:"observation"`
bool recursive = 20 [json_name = "recursive"]; // @gotags: `class:"public"`
string filter = 30 [json_name = "filter"]; // @gotags: `class:"public"`
}
Expand All @@ -118,12 +118,12 @@ message CreateAuthMethodRequest {
}

message CreateAuthMethodResponse {
string uri = 1; // @gotags: `class:"public"`
string uri = 1; // @gotags: `class:"public" eventstream:"observation"`
resources.authmethods.v1.AuthMethod item = 2;
}

message UpdateAuthMethodRequest {
string id = 1; // @gotags: `class:"public"`
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
resources.authmethods.v1.AuthMethod item = 2;
google.protobuf.FieldMask update_mask = 3 [json_name = "update_mask"];
}
Expand All @@ -133,7 +133,7 @@ message UpdateAuthMethodResponse {
}

message DeleteAuthMethodRequest {
string id = 1; // @gotags: `class:"public"`
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
}

message DeleteAuthMethodResponse {}
Expand Down Expand Up @@ -194,7 +194,7 @@ message LdapLoginAttributes {

message AuthenticateRequest {
// The ID of the Auth Method in the system that should be used for authentication.
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public"`
string auth_method_id = 1 [json_name = "auth_method_id"]; // @gotags: `class:"public" eventstream:"observation"`
// This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order
// to keep it safe from rogue JS in the browser. Deprecated, use "type" instead.
string token_type = 2 [
Expand All @@ -203,7 +203,7 @@ message AuthenticateRequest {
]; // @gotags: `class:"public"`
// This can be "cookie" or "token". If not provided, "token" will be used. "cookie" activates a split-cookie method where the token is split partially between http-only and regular cookies in order
// to keep it safe from rogue JS in the browser.
string type = 6 [json_name = "type"]; // @gotags: `class:"public"`
string type = 6 [json_name = "type"]; // @gotags: `class:"public" eventstream:"observation"`
oneof attrs {
// Attributes are passed to the Auth Method; the valid keys and values depend on the type of Auth Method as well as the command.
google.protobuf.Struct attributes = 4;
Expand All @@ -227,7 +227,7 @@ message AuthenticateResponse {
reserved 1, 2; // Old item and token_type
reserved "item", "token_type";
// The type of the token returned. Either "cookie" or "token".
string type = 3; // @gotags: `class:"public"`
string type = 3; // @gotags: `class:"public" eventstream:"observation"`
oneof attrs {
// Valid keys and values depend on the type of Auth Method as well as the command.
google.protobuf.Struct attributes = 4 [json_name = "attributes"];
Expand Down

0 comments on commit 9977155

Please sign in to comment.