Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeToken ¶
decodeToken decodes token from base64 to integrationId + secret
Types ¶
type AccountsMongoDBClient ¶
type AccountsMongoDBClient struct { ValidTokens map[string]string // contains filtered or unexported fields }
func New ¶
func New(connectionURI string) *AccountsMongoDBClient
func (*AccountsMongoDBClient) CheckAvailability ¶
func (m *AccountsMongoDBClient) CheckAvailability() bool
CheckAvailability checks if mongodb is available
func (*AccountsMongoDBClient) UpdateTokenCache ¶
func (client *AccountsMongoDBClient) UpdateTokenCache() error
Click to show internal directories.
Click to hide internal directories.