usp_ms_graph

package
v1.32.26 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const URLPrefix = "https://graph.microsoft.com/v1.0/"

Variables

This section is empty.

Functions

This section is empty.

Types

type MsGraphAdapter

type MsGraphAdapter struct {
	// contains filtered or unexported fields
}

func NewMsGraphAdapter

func NewMsGraphAdapter(ctx context.Context, conf MsGraphConfig) (*MsGraphAdapter, chan struct{}, error)

func (*MsGraphAdapter) Close

func (a *MsGraphAdapter) Close() error

type MsGraphConfig

type MsGraphConfig struct {
	ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	TenantID      string                  `json:"tenant_id" yaml:"tenant_id"`
	ClientID      string                  `json:"client_id" yaml:"client_id"`
	ClientSecret  string                  `json:"client_secret" yaml:"client_secret"`
	URL           string                  `json:"url" yaml:"url"`
}

func (*MsGraphConfig) Validate

func (c *MsGraphConfig) Validate() error

Jump to

Keyboard shortcuts

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