fix: remove manipulate metadata from authapi (#2303)

This commit is contained in:
Fabi
2021-09-02 09:22:28 +02:00
committed by GitHub
parent 296f1c3c71
commit 1cd26d5b7d
3 changed files with 0 additions and 144 deletions

View File

@@ -97,30 +97,6 @@ service AuthService {
};
}
// Sets a user metadata by key to the authorized user
rpc SetMyMetadata(SetMyMetadataRequest) returns (SetMyMetadataResponse) {
option (google.api.http) = {
post: "/users/me/metadata/{key}"
body: "*"
};
option (zitadel.v1.auth_option) = {
permission: "authenticated"
};
}
// Set a list of user metadata to the authorized user
rpc BulkSetMyMetadata(BulkSetMyMetadataRequest) returns (BulkSetMyMetadataResponse) {
option (google.api.http) = {
post: "/users/me/metadata/_bulk"
body: "*"
};
option (zitadel.v1.auth_option) = {
permission: "authenticated"
};
}
// Returns the user metadata of the authorized user
rpc ListMyMetadata(ListMyMetadataRequest) returns (ListMyMetadataResponse) {
option (google.api.http) = {
@@ -144,29 +120,6 @@ service AuthService {
};
}
// Removes a user metadata by key to the authorized user
rpc RemoveMyMetadata(RemoveMyMetadataRequest) returns (RemoveMyMetadataResponse) {
option (google.api.http) = {
delete: "/users/me/metadata/{key}"
};
option (zitadel.v1.auth_option) = {
permission: "authenticated"
};
}
// Set a list of user metadata to the authorized user
rpc BulkRemoveMyMetadata(BulkRemoveMyMetadataRequest) returns (BulkRemoveMyMetadataResponse) {
option (google.api.http) = {
delete: "/users/me/metadata/_bulk"
body: "*"
};
option (zitadel.v1.auth_option) = {
permission: "authenticated"
};
}
// Returns the refresh tokens of the authorized user
rpc ListMyRefreshTokens(ListMyRefreshTokensRequest) returns (ListMyRefreshTokensResponse) {
option (google.api.http) = {