Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
func NewAzureClient ¶
func NewAzureClient(ctx context.Context, clientID, clientSecret, tenantID, graphFilter string, cacheClient cache.ClientInterface) (*Client, error)
NewAzureClient returns an Azure client or error
func (*Client) GetUserGroups ¶
func (client *Client) GetUserGroups(ctx context.Context, objectID string, userType models.UserType) ([]models.Group, error)
GetUserGroups ...
type ClientInterface ¶
type ClientInterface interface { GetUserGroups(ctx context.Context, objectID string, userType models.UserType) ([]models.Group, error) StartSyncGroups(ctx context.Context, syncInterval time.Duration) (*time.Ticker, chan bool, error) Valid(ctx context.Context) bool }
ClientInterface ...
Click to show internal directories.
Click to hide internal directories.