Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFacade ¶ added in v0.0.2
type ClientFactory ¶ added in v0.0.2
type ClientFactory struct {
// Using functions is required as Viper parses the config not before a command's
// Execute() function is called.
GetTenantID func() string
GetClientID func() string
}
func (*ClientFactory) GetGraphClient ¶ added in v0.0.2
func (fact *ClientFactory) GetGraphClient() (*GraphClient, error, )
Get returns a singleton instance of a Microsoft Graph client using the Device Code Authentication Provider.
type GraphClient ¶ added in v0.0.2
type GraphClient struct {
// contains filtered or unexported fields
}
func (GraphClient) ReadOpenTasks ¶ added in v0.0.2
func (graph GraphClient) ReadOpenTasks( listID *string, ) (*[]Task, error)
ReadOpenTasks uses the Microsoft Graph API to fetch the To-Do tasks with status 'notStarted'.
Click to show internal directories.
Click to hide internal directories.