Skip to content

Commit

Permalink
get public share methods also return the share password now
Browse files Browse the repository at this point in the history
For some alternative public share authentication methods we need to be able to access the public share password. Some more details are documented here: cs3org#110
  • Loading branch information
David Christofas committed Mar 12, 2021
1 parent 414d8eb commit fe7ce14
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cs3/sharing/link/v1beta1/link_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ message GetPublicShareResponse {
// REQUIRED.
// The share.
PublicShare share = 3;
// OPTIONAL.
// The share password hash.
string password = 4;
}

message GetPublicShareByTokenRequest {
Expand All @@ -244,4 +247,7 @@ message GetPublicShareByTokenResponse {
// REQUIRED.
// The share.
PublicShare share = 3;
// OPTIONAL.
// The share password hash.
string password = 4;
}
16 changes: 16 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8519,6 +8519,14 @@ <h3 id="cs3.sharing.link.v1beta1.GetPublicShareByTokenResponse">GetPublicShareBy
The share. </p></td>
</tr>

<tr>
<td>password</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL.
The share password hash. </p></td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -8593,6 +8601,14 @@ <h3 id="cs3.sharing.link.v1beta1.GetPublicShareResponse">GetPublicShareResponse<
The share. </p></td>
</tr>

<tr>
<td>password</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL.
The share password hash. </p></td>
</tr>

</tbody>
</table>

Expand Down

0 comments on commit fe7ce14

Please sign in to comment.