Generate new version of SDK resources and Add Tests (#331)
This commit is contained in:
1 parent
96e4b1cdba
commit
c3ecea172d
93 files changed
+3414
-2826
No files matched your search
@@ -205,7 +205,7 @@ message SetPasswordResponse {
|
||||
message ChangePasswordRequest {
|
||||
string id = 1;
|
||||
uint32 version = 2;
|
||||
string old_password = 3 [json_name="old_password"];
|
||||
string current_password = 3 [json_name="current_password"];
|
||||
string new_password = 4 [json_name="new_password"];
|
||||
}
|
||||
|
||||
|
||||
@@ -13,9 +13,14 @@ service AuthenticationService {
|
||||
// Authenticate validates credentials provided and returns an auth token.
|
||||
rpc Authenticate(AuthenticateRequest) returns (AuthenticateResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/scopes/*/auth-methods/{auth_method_id}:authenticate"
|
||||
post: "/v1/auth-methods/{auth_method_id}:authenticate"
|
||||
body: "*"
|
||||
response_body: "item"
|
||||
additional_bindings: {
|
||||
post: "/v1/scopes/*/auth-methods/{auth_method_id}:authenticate"
|
||||
body: "*"
|
||||
response_body: "item"
|
||||
}
|
||||
};
|
||||
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
||||
summary: "Authenticate a user to an scope and retrieve an authentication token."
|
||||
|
||||
Reference in new issue
Block a user