Documentation ¶
Overview ¶
Package credentials is a helper to load credentials for respective email providers
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFailedToLoadCredentials is returned when credentials fail to load ErrFailedToLoadCredentials = errors.New("failed to load credentials") // ErrFailedToParseToken is returned when a token fails to parse ErrFailedToParseToken = errors.New("failed to parse token") )
Functions ¶
func ParseCredentials ¶
ParseCredentials parses the OAuth2 credentials JSON byte slice and returns an *oauth2.Config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.