accounts

package
v0.0.0-...-4009bfd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeToken

func DecodeToken(token string) (string, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL