clients

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Environment environments.Environment
	TenantID    string
	ClientID    string
	ObjectID    string
	Claims      *claims.Claims

	TerraformVersion string

	StopContext context.Context

	Groups            *groups.Client
	ServicePrincipals *serviceprincipals.Client
	Users             *users.Client
}

Client contains the handles to all the specific Azure AD resource classes' respective clients

type ClientBuilder

type ClientBuilder struct {
	AuthConfig       *auth.Credentials
	PartnerID        string
	TerraformVersion string
}

func (*ClientBuilder) Build

func (b *ClientBuilder) Build(ctx context.Context) (*Client, error)

Build is a helper method which returns a fully instantiated *Client based on the auth Config's current settings.

Jump to

Keyboard shortcuts

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