share public; share reserved (#922)

This commit is contained in:
Michael Quigley
2025-03-27 14:23:57 -04:00
parent ab9490e440
commit b5df385da4
3 changed files with 67 additions and 24 deletions

View File

@ -18,15 +18,16 @@ type SharePrivateRequest struct {
}
type SharePublicRequest struct {
Target string
BasicAuth []string
FrontendSelection []string
BackendMode string
Insecure bool
OauthProvider string
OauthCheckInterval string
Closed bool
AccessGrants []string
Target string
BasicAuth []string
FrontendSelection []string
BackendMode string
Insecure bool
OauthProvider string
OauthEmailAddressPatterns []string
OauthCheckInterval string
Closed bool
AccessGrants []string
}
type ShareReservedRequest struct {
@ -35,6 +36,14 @@ type ShareReservedRequest struct {
Insecure bool
}
type ShareReservedResponse struct {
Token string
BackendMode string
ShareMode string
FrontendEndpoints []string
Target string
}
type share struct {
token string
frontendEndpoints []string