msgraph

package
v1.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL