externalaccount

package
v1.20.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinkAccountFromStore added in v1.16.0

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 added in v1.16.0

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

UpdateExternalUser updates external user's information

Types

type Store added in v1.16.0

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