externalaccount

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinkAccountFromStore

func LinkAccountFromStore(store Store, user *user_model.User) error

LinkAccountFromStore links the provided user with a stored external user

func LinkAccountToUser

func LinkAccountToUser(user *user_model.User, gothUser goth.User) error

LinkAccountToUser link the gothUser to the user

func UpdateExternalUser

func UpdateExternalUser(user *user_model.User, gothUser goth.User) error

UpdateExternalUser updates external user's information

Types

type Store

type Store interface {
	Get(interface{}) interface{}
	Set(interface{}, interface{}) error
	Release() error
}

Store represents a thing that stores things

Jump to

Keyboard shortcuts

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