observation tags proto messages
This commit is contained in:
51 files changed
+458
-454
No files matched your search
@@ -96,7 +96,7 @@ service AuthMethodService {
|
||||
}
|
||||
|
||||
message GetAuthMethodRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message GetAuthMethodResponse {
|
||||
@@ -104,7 +104,7 @@ message GetAuthMethodResponse {
|
||||
}
|
||||
|
||||
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"`
|
||||
}
|
||||
@@ -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"];
|
||||
}
|
||||
@@ -133,7 +133,7 @@ message UpdateAuthMethodResponse {
|
||||
}
|
||||
|
||||
message DeleteAuthMethodRequest {
|
||||
string id = 1; // @gotags: `class:"public"`
|
||||
string id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message DeleteAuthMethodResponse {}
|
||||
@@ -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 [
|
||||
@@ -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;
|
||||
@@ -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"];
|
||||
|
||||
Reference in new issue
Block a user