Add name and surname to accounts
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
151
README.md
151
README.md
@@ -9,6 +9,7 @@
|
||||
- [IsEmailVerifiedRequest](#accounts-v1-IsEmailVerifiedRequest)
|
||||
- [IsEmailVerifiedResponse](#accounts-v1-IsEmailVerifiedResponse)
|
||||
- [NewPasswordRequest](#accounts-v1-NewPasswordRequest)
|
||||
- [PersonalData](#accounts-v1-PersonalData)
|
||||
- [RefreshTokenRequest](#accounts-v1-RefreshTokenRequest)
|
||||
- [ResetPasswordRequest](#accounts-v1-ResetPasswordRequest)
|
||||
- [SignInRequest](#accounts-v1-SignInRequest)
|
||||
@@ -17,6 +18,18 @@
|
||||
- [AccountsService](#accounts-v1-AccountsService)
|
||||
- [PublicAccountsService](#accounts-v1-PublicAccountsService)
|
||||
|
||||
- [projects/v1/projects_v1.proto](#projects_v1_projects_v1-proto)
|
||||
- [CreateProjectRequest](#projects-v1-CreateProjectRequest)
|
||||
- [CreateProjectResponse](#projects-v1-CreateProjectResponse)
|
||||
- [GetProjectRequest](#projects-v1-GetProjectRequest)
|
||||
- [GetProjectResponse](#projects-v1-GetProjectResponse)
|
||||
- [ListProjectsRequest](#projects-v1-ListProjectsRequest)
|
||||
- [ListProjectsResponse](#projects-v1-ListProjectsResponse)
|
||||
- [UpdateProjectRequest](#projects-v1-UpdateProjectRequest)
|
||||
- [UpdateProjectResponse](#projects-v1-UpdateProjectResponse)
|
||||
|
||||
- [ProjectsService](#projects-v1-ProjectsService)
|
||||
|
||||
- [test/v1/test_v1.proto](#test_v1_test_v1-proto)
|
||||
- [PingRequest](#test-v1-PingRequest)
|
||||
- [PingResponse](#test-v1-PingResponse)
|
||||
@@ -48,6 +61,7 @@
|
||||
- [UpdateTokenRequest](#tokens-v1-UpdateTokenRequest)
|
||||
- [UpdateTokenResponse](#tokens-v1-UpdateTokenResponse)
|
||||
|
||||
- [PublicTokensService](#tokens-v1-PublicTokensService)
|
||||
- [TokensService](#tokens-v1-TokensService)
|
||||
|
||||
- [Scalar Value Types](#scalar-value-types)
|
||||
@@ -139,6 +153,22 @@ Protobuf definitions for the accounts service.
|
||||
|
||||
|
||||
|
||||
<a name="accounts-v1-PersonalData"></a>
|
||||
|
||||
### PersonalData
|
||||
|
||||
|
||||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| name | [string](#string) | | |
|
||||
| surname | [string](#string) | | |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="accounts-v1-RefreshTokenRequest"></a>
|
||||
|
||||
### RefreshTokenRequest
|
||||
@@ -195,6 +225,7 @@ Protobuf definitions for the accounts service.
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| email | [string](#string) | | |
|
||||
| password | [string](#string) | | |
|
||||
| personal_data | [PersonalData](#accounts-v1-PersonalData) | | |
|
||||
|
||||
|
||||
|
||||
@@ -233,6 +264,115 @@ Service for handling accounts that do not require authentication
|
||||
|
||||
|
||||
|
||||
<a name="projects_v1_projects_v1-proto"></a>
|
||||
<p align="right"><a href="#top">Top</a></p>
|
||||
|
||||
## projects/v1/projects_v1.proto
|
||||
Protobuf definitions for the accounts service.
|
||||
|
||||
|
||||
<a name="projects-v1-CreateProjectRequest"></a>
|
||||
|
||||
### CreateProjectRequest
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-CreateProjectResponse"></a>
|
||||
|
||||
### CreateProjectResponse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-GetProjectRequest"></a>
|
||||
|
||||
### GetProjectRequest
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-GetProjectResponse"></a>
|
||||
|
||||
### GetProjectResponse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-ListProjectsRequest"></a>
|
||||
|
||||
### ListProjectsRequest
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-ListProjectsResponse"></a>
|
||||
|
||||
### ListProjectsResponse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-UpdateProjectRequest"></a>
|
||||
|
||||
### UpdateProjectRequest
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-UpdateProjectResponse"></a>
|
||||
|
||||
### UpdateProjectResponse
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="projects-v1-ProjectsService"></a>
|
||||
|
||||
### ProjectsService
|
||||
|
||||
|
||||
| Method Name | Request Type | Response Type | Description |
|
||||
| ----------- | ------------ | ------------- | ------------|
|
||||
| CreateProject | [CreateProjectRequest](#projects-v1-CreateProjectRequest) | [CreateProjectResponse](#projects-v1-CreateProjectResponse) | |
|
||||
| GetProject | [GetProjectRequest](#projects-v1-GetProjectRequest) | [GetProjectResponse](#projects-v1-GetProjectResponse) | |
|
||||
| ListProjects | [ListProjectsRequest](#projects-v1-ListProjectsRequest) | [ListProjectsResponse](#projects-v1-ListProjectsResponse) stream | |
|
||||
| UpdateProject | [UpdateProjectRequest](#projects-v1-UpdateProjectRequest) | [UpdateProjectResponse](#projects-v1-UpdateProjectResponse) | |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="test_v1_test_v1-proto"></a>
|
||||
<p align="right"><a href="#top">Top</a></p>
|
||||
|
||||
@@ -641,6 +781,16 @@ Protobuf definitions for the accounts service.
|
||||
|
||||
|
||||
|
||||
<a name="tokens-v1-PublicTokensService"></a>
|
||||
|
||||
### PublicTokensService
|
||||
An endpoint to authenticate with a token should be here
|
||||
|
||||
| Method Name | Request Type | Response Type | Description |
|
||||
| ----------- | ------------ | ------------- | ------------|
|
||||
| AuthenticateWithToken | [AuthenticateWithTokenRequest](#tokens-v1-AuthenticateWithTokenRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | Recieve a JWT access token DO NOT implement it in the web app! |
|
||||
|
||||
|
||||
<a name="tokens-v1-TokensService"></a>
|
||||
|
||||
### TokensService
|
||||
@@ -656,7 +806,6 @@ For example CLI or terraform modules
|
||||
| GetToken | [GetTokenRequest](#tokens-v1-GetTokenRequest) | [GetTokenResponse](#tokens-v1-GetTokenResponse) | Get an existing token |
|
||||
| ListTokens | [.google.protobuf.Empty](#google-protobuf-Empty) | [ListTokensResponse](#tokens-v1-ListTokensResponse) stream | List all existing tokens |
|
||||
| ListPermissions | [.google.protobuf.Empty](#google-protobuf-Empty) | [ListPermissionsResponse](#tokens-v1-ListPermissionsResponse) stream | List all available permissions |
|
||||
| AuthenticateWithToken | [AuthenticateWithTokenRequest](#tokens-v1-AuthenticateWithTokenRequest) | [.google.protobuf.Empty](#google-protobuf-Empty) | Recieve a JWT access token |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -31,9 +31,15 @@ message AccountData {
|
||||
string email = 2; // Account email
|
||||
}
|
||||
|
||||
message PersonalData {
|
||||
string name = 1;
|
||||
string surname = 2;
|
||||
}
|
||||
|
||||
message SignUpRequest {
|
||||
string email = 1;
|
||||
string password = 2;
|
||||
PersonalData personal_data = 3;
|
||||
}
|
||||
|
||||
message SignInRequest {
|
||||
|
||||
Reference in New Issue
Block a user