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