Chromium Code Reviews

Side by Side Diff: pkg/appengine/lib/src/protobuf_api/internal/user_service.proto

Issue 804973002: Add appengine/gcloud/mustache dependencies. (Closed) Base URL: git@github.com:dart-lang/pub-dartlang-dart.git@master
Patch Set: Added AUTHORS/LICENSE/PATENTS files Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 syntax = "proto2";
2
3 package appengine.user;
4
5 message UserServiceError {
6 enum ErrorCode {
7 OK = 0;
8 REDIRECT_URL_TOO_LONG = 1;
9 NOT_ALLOWED = 2;
10 OAUTH_INVALID_TOKEN = 3;
11 OAUTH_INVALID_REQUEST = 4;
12 OAUTH_ERROR = 5;
13 }
14 }
15
16 message CreateLoginURLRequest {
17 required string destination_url = 1;
18 optional string auth_domain = 2;
19 optional string federated_identity = 3 [default = ""];
20 }
21
22 message CreateLoginURLResponse {
23 required string login_url = 1;
24 }
25
26 message CreateLogoutURLRequest {
27 required string destination_url = 1;
28 optional string auth_domain = 2;
29 }
30
31 message CreateLogoutURLResponse {
32 required string logout_url = 1;
33 }
34
35 message GetOAuthUserRequest {
36 optional string scope = 1;
37
38 repeated string scopes = 2;
39 }
40
41 message GetOAuthUserResponse {
42 required string email = 1;
43 required string user_id = 2;
44 required string auth_domain = 3;
45 optional string user_organization = 4 [default = ""];
46 optional bool is_admin = 5 [default = false];
47 optional string client_id = 6 [default = ""];
48
49 repeated string scopes = 7;
50 }
51
52 message CheckOAuthSignatureRequest {
53 }
54
55 message CheckOAuthSignatureResponse {
56 required string oauth_consumer_key = 1;
57 }
OLDNEW

Powered by Google App Engine