powerplatform_common

package
v0.3.0-preview Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderConfig

type ProviderConfig struct {
	Credentials *ProviderCredentials
	Urls        ProviderConfigUrls
}

type ProviderConfigUrls

type ProviderConfigUrls struct {
	BapiUrl          string
	PowerAppsUrl     string
	PowerPlatformUrl string
}

type ProviderCredentials

type ProviderCredentials struct {
	TenantId string
	ClientId string
	Secret   string

	Username string
	Password string
}

func (*ProviderCredentials) IsClientSecretCredentialsProvided

func (model *ProviderCredentials) IsClientSecretCredentialsProvided() bool

func (*ProviderCredentials) IsUserPassCredentialsProvided

func (model *ProviderCredentials) IsUserPassCredentialsProvided() bool

type ProviderCredentialsModel

type ProviderCredentialsModel struct {
	TenantId types.String `tfsdk:"tenant_id"`
	ClientId types.String `tfsdk:"client_id"`
	Secret   types.String `tfsdk:"secret"`

	Username types.String `tfsdk:"username"`
	Password types.String `tfsdk:"password"`
}

Jump to

Keyboard shortcuts

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