Documentation ¶
Index ¶
- Constants
- type Dropbox
- func (v *Dropbox) AuthorizeURL() string
- func (v *Dropbox) GetAccessToken(code string) (interface{}, error)
- func (v *Dropbox) Redirect(c *fiber.Ctx, gateway *sdk.GatewayClient) error
- func (v *Dropbox) StoreAccessToken(c *fiber.Ctx, gateway *sdk.GatewayClient) error
- func (v *Dropbox) Upload(path string, content io.Reader) error
- type TokenResponse
Constants ¶
View Source
const ( ID = "dropbox" ClientIdKey = "key" ClientSecretKey = "secret" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dropbox ¶
type Dropbox struct {
// contains filtered or unexported fields
}
func NewDropbox ¶
func (*Dropbox) AuthorizeURL ¶
func (*Dropbox) GetAccessToken ¶
func (*Dropbox) Redirect ¶
func (v *Dropbox) Redirect(c *fiber.Ctx, gateway *sdk.GatewayClient) error
func (*Dropbox) StoreAccessToken ¶
func (v *Dropbox) StoreAccessToken(c *fiber.Ctx, gateway *sdk.GatewayClient) error
Click to show internal directories.
Click to hide internal directories.