Documentation ¶
Index ¶
- Variables
- type Manager
- func (m *Manager) BeginFlow(ctxCtx context.Context, service types.ConnectionService, user auth.User, ...) (string, error)
- func (m *Manager) CompleteFlow(ctxCtx context.Context, state string, code string) error
- func (m *Manager) RegisterConnectionService(service types.ConnectionService, config *oauth2.Config)
- type ServiceCallbackFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMaximumConnectionsReached = errors.New("maximum number of connections to this service reached")
ErrMaximumConnectionsReached is returned when a user has reached their maximum number of connections to a service
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages oauth account association requests
func (*Manager) BeginFlow ¶
func (m *Manager) BeginFlow(ctxCtx context.Context, service types.ConnectionService, user auth.User, callback ServiceCallbackFunction) (string, error)
func (*Manager) CompleteFlow ¶
func (*Manager) RegisterConnectionService ¶
func (m *Manager) RegisterConnectionService(service types.ConnectionService, config *oauth2.Config)
type ServiceCallbackFunction ¶
Click to show internal directories.
Click to hide internal directories.