Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResponse ¶
type AuthResponse struct { TokenType string `json:"token_type"` Expires int `json:"expires_in"` Token string `json:"access_token"` }
AuthResponse represents a response from the MS Graph auth API
type GroupList ¶
type GroupList struct {
Value []Group `json:"value"`
}
GroupList represents a list of groups returned from the MS Graph API
type ObjectList ¶
type ObjectList struct {
Value []string `json:"value"`
}
ObjectList represents a list of directory object IDs returned from the MS Graph API
type ObjectQuery ¶
ObjectQuery represents a query object to the directoryObjects endpoint
type UserInfo ¶
type UserInfo struct {
// contains filtered or unexported fields
}
UserInfo allows you to get user data from MS Graph
func New ¶
New returns a new UserInfo object that is authenticated to the MS Graph API. If authentication fails, an error will be returned
Click to show internal directories.
Click to hide internal directories.