hamilton_helper

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppRoleAssignment

func GetAppRoleAssignment(c *msgraph.ServicePrincipalsClient, ctx context.Context, resourceId string, assignmentId string, query odata.Query) (*msgraph.AppRoleAssignment, int, error)

func ParseClaims

func ParseClaims(token *oauth2.Token) (claims auth.Claims, err error)

func TraverseNestedGroups

func TraverseNestedGroups(client *msgraph.GroupsClient, ctx context.Context, maxTraverseDepth int, groupId string, traverseFunc TraverseFunc) error

maxTraverseDepth: 0 means traverse max depth

Types

type TraverseFunc

type TraverseFunc func(objectId string, oDataType odata.Type, err error) error

Jump to

Keyboard shortcuts

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