| 1234567891011121314151617181920212223242526 |
- syntax = "proto3";
-
- option csharp_namespace = "IdentityProvider.Protos";
-
- package auth;
-
- service AuthorizationService {
- rpc RedirectUser(AuthParams) returns (AuthResponse);
- rpc GetAccessToken(AuthResponse) returns (AccessResponse);
- }
-
- message AuthParams{
- string client_id = 1;
- string redirect_uri = 2;
- string response_type = 3;
- string scope = 4;
- bool show_dialog = 5;
- }
-
- message AuthResponse {
- string code = 1;
- }
-
- message AccessResponse {
- string access_token = 1;
- }
|