Documentation ¶
Overview ¶
This package contains the msgraph package which is used to interact with the Microsoft Graph API it implements the UserWithGroup struct and the GraphClient struct
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiEndpoint = "https://graph.microsoft.com/.default"
Functions ¶
This section is empty.
Types ¶
type MsGraphClient ¶
type MsGraphClient struct { Client *msgraphsdk.GraphServiceClient GroupCache kvcachehelper.CacheInterface // contains filtered or unexported fields }
func NewMsGraphClient ¶
func NewMsGraphClient(config MsGraphConfig, cacheHelper kvcachehelper.CacheInterface) (*MsGraphClient, error)
NewMsGraphClient creates a new GraphClient
func (*MsGraphClient) CheckHealth ¶ added in v0.1.0
func (g *MsGraphClient) CheckHealth() []newhealth.Check
TODO: Implement
func (*MsGraphClient) GetUser ¶
func (g *MsGraphClient) GetUser(ctx context.Context, userId string) (*identitymodels.User, error)
GetUsersWithGroups gets a user and the name of the groups the user is a member of TODO: Implement isExpired TODO: Implement isDisabled...
Click to show internal directories.
Click to hide internal directories.