Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var URL = map[string]string{
"enterprise": "https://manage.office.com/api/v1.0/",
"gcc-gov": "https://manage-gcc.office.com/api/v1.0/",
"gcc-high-gov": "https://manage.office365.us/api/v1.0/",
"dod-gov": "https://manage.protection.apps.mil/api/v1.0/",
}
Functions ¶
This section is empty.
Types ¶
type Office365Adapter ¶
type Office365Adapter struct {
// contains filtered or unexported fields
}
func NewOffice365Adapter ¶
func NewOffice365Adapter(conf Office365Config) (*Office365Adapter, chan struct{}, error)
func (*Office365Adapter) Close ¶
func (a *Office365Adapter) Close() error
type Office365Config ¶
type Office365Config struct {
ClientOptions uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
Domain string `json:"domain" yaml:"domain"`
TenantID string `json:"tenant_id" yaml:"tenant_id"`
PublisherID string `json:"publisher_id" yaml:"publisher_id"`
ClientID string `json:"client_id" yaml:"client_id"`
ClientSecret string `json:"client_secret" yaml:"client_secret"`
Endpoint string `json:"endpoint" yaml:"endpoint"`
ContentTypes string `json:"content_types" yaml:"content_types"`
StartTime string `json:"start_time" yaml:"start_time"`
Deduper utils.Deduper `json:"-" yaml:"-"`
}
func (*Office365Config) Validate ¶
func (c *Office365Config) Validate() error
Click to show internal directories.
Click to hide internal directories.