user

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	AzureClient azure.ClientInterface
	// contains filtered or unexported fields
}

Client ...

func (*Client) GetUser

func (client *Client) GetUser(ctx context.Context, username, objectID string) (models.User, error)

GetUser returns the user or an error

type ClientInterface

type ClientInterface interface {
	GetUser(ctx context.Context, username, objectID string) (models.User, error)
}

ClientInterface ...

func NewUserClient

func NewUserClient(cfg *config.Config, azureClient azure.ClientInterface) ClientInterface

NewUserClient ...

Jump to

Keyboard shortcuts

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