Documentation ¶
Overview ¶
Package msgraph contains Microsoft Graph API utility routines common to Azure and ADFS providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsGraphGroupsRetriever ¶
type MsGraphGroupsRetriever struct{}
func (*MsGraphGroupsRetriever) RetrieveGroups ¶
func (msgr *MsGraphGroupsRetriever) RetrieveGroups(ctx context.Context, token *oauth2.Token, claimsUnmarshaler func(interface{}) error) ([]string, error)
This function handles Microsoft Graph API specifics around retrieving user groups. If the user is a member of more than 150 groups (SAML) or 200 groups (JWT), groups must be explicitly retrieved using the Microsoft Graph API. See https://docs.microsoft.com/en-us/azure/active-directory/develop/access-tokens
Click to show internal directories.
Click to hide internal directories.