Skip to content

Commit

Permalink
Merge pull request #181 from whdalsrnt/master
Browse files Browse the repository at this point in the history
feat: change authorization request message
  • Loading branch information
whdalsrnt authored Dec 8, 2023
2 parents ed6a03b + bea2784 commit 222479c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions proto/spaceone/api/core/v2/handler.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ option go_package = "github.com/cloudforet-io/api/dist/go/spaceone/api/core/v2";
import "google/protobuf/struct.proto";

message AuthorizationRequest {
enum TokenType {
enum OwnerType {
NONE = 0;
USER = 1;
APP = 2;
API_KEY = 3;
}

string scope = 1;
TokenType token_type = 2;
string api_key_id = 3;
OwnerType owner_type = 2;
string user_id = 3;
string app_id = 4;
string domain_id = 5;
string api_key_id = 5;
string workspace_id = 6;
string domain_id = 7;
}

message AuthorizationResponse {
Expand Down

0 comments on commit 222479c

Please sign in to comment.