adminbackend

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserNotFound = errors.New("user not found")
)

Functions

func CreateDeviceLogin

func CreateDeviceLogin(upn string, code string, provider string, audience string) error

func GetUserDetails

func GetUserDetails(upn string, params *model.Params, authorizeUrl string) (*model.SysApiUserDetail, error)

func GetUserDetailsWithDefaultBackend added in v0.1.2

func GetUserDetailsWithDefaultBackend(upn string, params *model.Params) (*model.SysApiUserDetail, error)

func Init

func Init(cfg *utils.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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