graphhelper

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 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 GraphHelper

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

func NewGraphHelper

func NewGraphHelper() *GraphHelper

func (*GraphHelper) NewGraphForAppAuth

func (g *GraphHelper) NewGraphForAppAuth(clientId, tenantId, clientSecret string) (*msgraphsdk.GraphServiceClient, error)

NewGraphForAppAuth requests an access token by using the client credentials flow. Returns a Graph client using the request adapter. Adapted from example method InitializeGraphForAppAuth as of 3 Jan 2026, shown in https://learn.microsoft.com/en-us/graph/tutorials/go-app-only-authentication

Jump to

Keyboard shortcuts

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