msgraph

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InputName = "msgraph"

Functions

func Handler

func Handler() core.InputHandler

Types

type Config

type Config struct {
	TenantID     string `json:"tenant_id" validate:"required"`
	ClientID     string `json:"client_id" validate:"required"`
	ClientSecret string `json:"client_secret" validate:"required"`
	Schedule     int    `json:"schedule" validate:"required|min:0"`

	// This is not required. We use the default/global endpoint which will work for most users
	// https://docs.microsoft.com/en-us/graph/deployments#microsoft-graph-and-graph-explorer-service-root-endpoints
	GraphEndpoint string `json:"graph_endpoint,omitempty"`
	LoginEndpoint string `json:"login_endpoint,omitempty"`
}

Jump to

Keyboard shortcuts

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