Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Log *logrus.Entry Config *Config Client *http.Client AuthToken *msgraph.AuthToken }
Client contains internal MS Graph Client details
func NewClientForConfig ¶
NewClientForConfig creates a new MS Graph Client with the specified configuration
func (*Client) GetAccessToken ¶
GetAccessToken leverages the Auth API to return an AuthToken that provides authenticated access to the MS Graph API
type Config ¶
Config holds the configuration details required for the client
func NewConfigFromEnvironmentVariables ¶
NewConfigFromEnvironmentVariables creates a config from environment variables
Click to show internal directories.
Click to hide internal directories.