Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthorizeURL = "https://www.dropbox.com/oauth2/authorize" TokenURL = "https://api.dropboxapi.com/oauth2/token" // #nosec G101 - This is a URL, not a credential )
Variables ¶
This section is empty.
Functions ¶
func ValidateToken ¶
Types ¶
type AuthResult ¶
func RefreshToken ¶
func RefreshToken(config OAuthConfig, refreshToken string) (*AuthResult, error)
func StartOAuthFlow ¶
func StartOAuthFlow(config OAuthConfig) (*AuthResult, error)
type OAuthConfig ¶
Click to show internal directories.
Click to hide internal directories.