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
Click to show internal directories.
Click to hide internal directories.