Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCouldNotCastValue = errors.New("could not cast value to type") ErrSessionTokenCasting = errors.New("could not cast a session token") ErrUserIdMatching = errors.New("token uid and state uid do not match") ErrInvalidStateValue = errors.New("invalid state value") ErrInvalidVerifierValue = errors.New("invalid verifier value") )
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
func NewAuthController ¶
func NewAuthController( client client.Client, api aclient.DropboxClient, jwtManager crypto.JwtManager, stateGenerator crypto.StateGenerator, config *config.ServerConfig, oauth *oauth2.Config, logger log.Logger, ) AuthController
func (AuthController) BuildGetAuth ¶
func (c AuthController) BuildGetAuth() http.HandlerFunc
func (AuthController) BuildGetRedirect ¶
func (c AuthController) BuildGetRedirect() http.HandlerFunc
type EditorController ¶
type EditorController struct {
// contains filtered or unexported fields
}
func NewEditorController ¶
func NewEditorController( client client.Client, api aclient.DropboxClient, jwtManager crypto.JwtManager, hasher crypto.Hasher, fileUtil onlyoffice.OnlyofficeFileUtility, server *config.ServerConfig, onlyoffice *shared.OnlyofficeConfig, credentials *oauth2.Config, logger log.Logger, ) EditorController
func (EditorController) BuildEditorPage ¶
func (c EditorController) BuildEditorPage() http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.