application

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	// AdditionalProperties: list of string, optional
	AdditionalProperties terra.ListValue[terra.StringValue] `hcl:"additional_properties,attr"`
	// Essential: bool, optional
	Essential terra.BoolValue `hcl:"essential,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Source: string, optional
	Source terra.StringValue `hcl:"source,attr"`
}

type AccessTokenAttributes

type AccessTokenAttributes struct {
	// contains filtered or unexported fields
}

func (AccessTokenAttributes) AdditionalProperties

func (at AccessTokenAttributes) AdditionalProperties() terra.ListValue[terra.StringValue]

func (AccessTokenAttributes) Essential

func (at AccessTokenAttributes) Essential() terra.BoolValue

func (AccessTokenAttributes) InternalRef

func (at AccessTokenAttributes) InternalRef() (terra.Reference, error)

func (AccessTokenAttributes) InternalTokens

func (at AccessTokenAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessTokenAttributes) InternalWithRef

func (AccessTokenAttributes) Name

func (AccessTokenAttributes) Source

type AccessTokenState

type AccessTokenState struct {
	AdditionalProperties []string `json:"additional_properties"`
	Essential            bool     `json:"essential"`
	Name                 string   `json:"name"`
	Source               string   `json:"source"`
}

type Api

type Api struct {
	// KnownClientApplications: set of string, optional
	KnownClientApplications terra.SetValue[terra.StringValue] `hcl:"known_client_applications,attr"`
	// MappedClaimsEnabled: bool, optional
	MappedClaimsEnabled terra.BoolValue `hcl:"mapped_claims_enabled,attr"`
	// RequestedAccessTokenVersion: number, optional
	RequestedAccessTokenVersion terra.NumberValue `hcl:"requested_access_token_version,attr"`
	// Oauth2PermissionScope: min=0
	Oauth2PermissionScope []Oauth2PermissionScope `hcl:"oauth2_permission_scope,block" validate:"min=0"`
}

type ApiAttributes

type ApiAttributes struct {
	// contains filtered or unexported fields
}

func (ApiAttributes) InternalRef

func (a ApiAttributes) InternalRef() (terra.Reference, error)

func (ApiAttributes) InternalTokens

func (a ApiAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApiAttributes) InternalWithRef

func (a ApiAttributes) InternalWithRef(ref terra.Reference) ApiAttributes

func (ApiAttributes) KnownClientApplications

func (a ApiAttributes) KnownClientApplications() terra.SetValue[terra.StringValue]

func (ApiAttributes) MappedClaimsEnabled

func (a ApiAttributes) MappedClaimsEnabled() terra.BoolValue

func (ApiAttributes) Oauth2PermissionScope

func (a ApiAttributes) Oauth2PermissionScope() terra.SetValue[Oauth2PermissionScopeAttributes]

func (ApiAttributes) RequestedAccessTokenVersion

func (a ApiAttributes) RequestedAccessTokenVersion() terra.NumberValue

type ApiState

type ApiState struct {
	KnownClientApplications     []string                     `json:"known_client_applications"`
	MappedClaimsEnabled         bool                         `json:"mapped_claims_enabled"`
	RequestedAccessTokenVersion float64                      `json:"requested_access_token_version"`
	Oauth2PermissionScope       []Oauth2PermissionScopeState `json:"oauth2_permission_scope"`
}

type AppRole

type AppRole struct {
	// AllowedMemberTypes: set of string, required
	AllowedMemberTypes terra.SetValue[terra.StringValue] `hcl:"allowed_member_types,attr" validate:"required"`
	// Description: string, required
	Description terra.StringValue `hcl:"description,attr" validate:"required"`
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type AppRoleAttributes

type AppRoleAttributes struct {
	// contains filtered or unexported fields
}

func (AppRoleAttributes) AllowedMemberTypes

func (ar AppRoleAttributes) AllowedMemberTypes() terra.SetValue[terra.StringValue]

func (AppRoleAttributes) Description

func (ar AppRoleAttributes) Description() terra.StringValue

func (AppRoleAttributes) DisplayName

func (ar AppRoleAttributes) DisplayName() terra.StringValue

func (AppRoleAttributes) Enabled

func (ar AppRoleAttributes) Enabled() terra.BoolValue

func (AppRoleAttributes) Id

func (AppRoleAttributes) InternalRef

func (ar AppRoleAttributes) InternalRef() (terra.Reference, error)

func (AppRoleAttributes) InternalTokens

func (ar AppRoleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AppRoleAttributes) InternalWithRef

func (ar AppRoleAttributes) InternalWithRef(ref terra.Reference) AppRoleAttributes

func (AppRoleAttributes) Value

func (ar AppRoleAttributes) Value() terra.StringValue

type AppRoleState

type AppRoleState struct {
	AllowedMemberTypes []string `json:"allowed_member_types"`
	Description        string   `json:"description"`
	DisplayName        string   `json:"display_name"`
	Enabled            bool     `json:"enabled"`
	Id                 string   `json:"id"`
	Value              string   `json:"value"`
}

type FeatureTags

type FeatureTags struct {
	// CustomSingleSignOn: bool, optional
	CustomSingleSignOn terra.BoolValue `hcl:"custom_single_sign_on,attr"`
	// Enterprise: bool, optional
	Enterprise terra.BoolValue `hcl:"enterprise,attr"`
	// Gallery: bool, optional
	Gallery terra.BoolValue `hcl:"gallery,attr"`
	// Hide: bool, optional
	Hide terra.BoolValue `hcl:"hide,attr"`
}

type FeatureTagsAttributes

type FeatureTagsAttributes struct {
	// contains filtered or unexported fields
}

func (FeatureTagsAttributes) CustomSingleSignOn

func (ft FeatureTagsAttributes) CustomSingleSignOn() terra.BoolValue

func (FeatureTagsAttributes) Enterprise

func (ft FeatureTagsAttributes) Enterprise() terra.BoolValue

func (FeatureTagsAttributes) Gallery

func (ft FeatureTagsAttributes) Gallery() terra.BoolValue

func (FeatureTagsAttributes) Hide

func (FeatureTagsAttributes) InternalRef

func (ft FeatureTagsAttributes) InternalRef() (terra.Reference, error)

func (FeatureTagsAttributes) InternalTokens

func (ft FeatureTagsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FeatureTagsAttributes) InternalWithRef

type FeatureTagsState

type FeatureTagsState struct {
	CustomSingleSignOn bool `json:"custom_single_sign_on"`
	Enterprise         bool `json:"enterprise"`
	Gallery            bool `json:"gallery"`
	Hide               bool `json:"hide"`
}

type IdToken

type IdToken struct {
	// AdditionalProperties: list of string, optional
	AdditionalProperties terra.ListValue[terra.StringValue] `hcl:"additional_properties,attr"`
	// Essential: bool, optional
	Essential terra.BoolValue `hcl:"essential,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Source: string, optional
	Source terra.StringValue `hcl:"source,attr"`
}

type IdTokenAttributes

type IdTokenAttributes struct {
	// contains filtered or unexported fields
}

func (IdTokenAttributes) AdditionalProperties

func (it IdTokenAttributes) AdditionalProperties() terra.ListValue[terra.StringValue]

func (IdTokenAttributes) Essential

func (it IdTokenAttributes) Essential() terra.BoolValue

func (IdTokenAttributes) InternalRef

func (it IdTokenAttributes) InternalRef() (terra.Reference, error)

func (IdTokenAttributes) InternalTokens

func (it IdTokenAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IdTokenAttributes) InternalWithRef

func (it IdTokenAttributes) InternalWithRef(ref terra.Reference) IdTokenAttributes

func (IdTokenAttributes) Name

func (IdTokenAttributes) Source

func (it IdTokenAttributes) Source() terra.StringValue

type IdTokenState

type IdTokenState struct {
	AdditionalProperties []string `json:"additional_properties"`
	Essential            bool     `json:"essential"`
	Name                 string   `json:"name"`
	Source               string   `json:"source"`
}

type ImplicitGrant

type ImplicitGrant struct {
	// AccessTokenIssuanceEnabled: bool, optional
	AccessTokenIssuanceEnabled terra.BoolValue `hcl:"access_token_issuance_enabled,attr"`
	// IdTokenIssuanceEnabled: bool, optional
	IdTokenIssuanceEnabled terra.BoolValue `hcl:"id_token_issuance_enabled,attr"`
}

type ImplicitGrantAttributes

type ImplicitGrantAttributes struct {
	// contains filtered or unexported fields
}

func (ImplicitGrantAttributes) AccessTokenIssuanceEnabled

func (ig ImplicitGrantAttributes) AccessTokenIssuanceEnabled() terra.BoolValue

func (ImplicitGrantAttributes) IdTokenIssuanceEnabled

func (ig ImplicitGrantAttributes) IdTokenIssuanceEnabled() terra.BoolValue

func (ImplicitGrantAttributes) InternalRef

func (ig ImplicitGrantAttributes) InternalRef() (terra.Reference, error)

func (ImplicitGrantAttributes) InternalTokens

func (ig ImplicitGrantAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ImplicitGrantAttributes) InternalWithRef

type ImplicitGrantState

type ImplicitGrantState struct {
	AccessTokenIssuanceEnabled bool `json:"access_token_issuance_enabled"`
	IdTokenIssuanceEnabled     bool `json:"id_token_issuance_enabled"`
}

type Oauth2PermissionScope

type Oauth2PermissionScope struct {
	// AdminConsentDescription: string, optional
	AdminConsentDescription terra.StringValue `hcl:"admin_consent_description,attr"`
	// AdminConsentDisplayName: string, optional
	AdminConsentDisplayName terra.StringValue `hcl:"admin_consent_display_name,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// UserConsentDescription: string, optional
	UserConsentDescription terra.StringValue `hcl:"user_consent_description,attr"`
	// UserConsentDisplayName: string, optional
	UserConsentDisplayName terra.StringValue `hcl:"user_consent_display_name,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type Oauth2PermissionScopeAttributes

type Oauth2PermissionScopeAttributes struct {
	// contains filtered or unexported fields
}

func (Oauth2PermissionScopeAttributes) AdminConsentDescription

func (ops Oauth2PermissionScopeAttributes) AdminConsentDescription() terra.StringValue

func (Oauth2PermissionScopeAttributes) AdminConsentDisplayName

func (ops Oauth2PermissionScopeAttributes) AdminConsentDisplayName() terra.StringValue

func (Oauth2PermissionScopeAttributes) Enabled

func (Oauth2PermissionScopeAttributes) Id

func (Oauth2PermissionScopeAttributes) InternalRef

func (Oauth2PermissionScopeAttributes) InternalTokens

func (ops Oauth2PermissionScopeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Oauth2PermissionScopeAttributes) InternalWithRef

func (Oauth2PermissionScopeAttributes) Type

func (Oauth2PermissionScopeAttributes) UserConsentDescription

func (ops Oauth2PermissionScopeAttributes) UserConsentDescription() terra.StringValue

func (Oauth2PermissionScopeAttributes) UserConsentDisplayName

func (ops Oauth2PermissionScopeAttributes) UserConsentDisplayName() terra.StringValue

func (Oauth2PermissionScopeAttributes) Value

type Oauth2PermissionScopeState

type Oauth2PermissionScopeState struct {
	AdminConsentDescription string `json:"admin_consent_description"`
	AdminConsentDisplayName string `json:"admin_consent_display_name"`
	Enabled                 bool   `json:"enabled"`
	Id                      string `json:"id"`
	Type                    string `json:"type"`
	UserConsentDescription  string `json:"user_consent_description"`
	UserConsentDisplayName  string `json:"user_consent_display_name"`
	Value                   string `json:"value"`
}

type OptionalClaims

type OptionalClaims struct {
	// AccessToken: min=0
	AccessToken []AccessToken `hcl:"access_token,block" validate:"min=0"`
	// IdToken: min=0
	IdToken []IdToken `hcl:"id_token,block" validate:"min=0"`
	// Saml2Token: min=0
	Saml2Token []Saml2Token `hcl:"saml2_token,block" validate:"min=0"`
}

type OptionalClaimsAttributes

type OptionalClaimsAttributes struct {
	// contains filtered or unexported fields
}

func (OptionalClaimsAttributes) AccessToken

func (OptionalClaimsAttributes) IdToken

func (OptionalClaimsAttributes) InternalRef

func (oc OptionalClaimsAttributes) InternalRef() (terra.Reference, error)

func (OptionalClaimsAttributes) InternalTokens

func (oc OptionalClaimsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OptionalClaimsAttributes) InternalWithRef

func (OptionalClaimsAttributes) Saml2Token

type OptionalClaimsState

type OptionalClaimsState struct {
	AccessToken []AccessTokenState `json:"access_token"`
	IdToken     []IdTokenState     `json:"id_token"`
	Saml2Token  []Saml2TokenState  `json:"saml2_token"`
}

type PublicClient

type PublicClient struct {
	// RedirectUris: set of string, optional
	RedirectUris terra.SetValue[terra.StringValue] `hcl:"redirect_uris,attr"`
}

type PublicClientAttributes

type PublicClientAttributes struct {
	// contains filtered or unexported fields
}

func (PublicClientAttributes) InternalRef

func (pc PublicClientAttributes) InternalRef() (terra.Reference, error)

func (PublicClientAttributes) InternalTokens

func (pc PublicClientAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PublicClientAttributes) InternalWithRef

func (PublicClientAttributes) RedirectUris

type PublicClientState

type PublicClientState struct {
	RedirectUris []string `json:"redirect_uris"`
}

type RequiredResourceAccess

type RequiredResourceAccess struct {
	// ResourceAppId: string, required
	ResourceAppId terra.StringValue `hcl:"resource_app_id,attr" validate:"required"`
	// ResourceAccess: min=1
	ResourceAccess []ResourceAccess `hcl:"resource_access,block" validate:"min=1"`
}

type RequiredResourceAccessAttributes

type RequiredResourceAccessAttributes struct {
	// contains filtered or unexported fields
}

func (RequiredResourceAccessAttributes) InternalRef

func (RequiredResourceAccessAttributes) InternalTokens

func (rra RequiredResourceAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RequiredResourceAccessAttributes) InternalWithRef

func (RequiredResourceAccessAttributes) ResourceAccess

func (RequiredResourceAccessAttributes) ResourceAppId

type RequiredResourceAccessState

type RequiredResourceAccessState struct {
	ResourceAppId  string                `json:"resource_app_id"`
	ResourceAccess []ResourceAccessState `json:"resource_access"`
}

type ResourceAccess

type ResourceAccess struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ResourceAccessAttributes

type ResourceAccessAttributes struct {
	// contains filtered or unexported fields
}

func (ResourceAccessAttributes) Id

func (ResourceAccessAttributes) InternalRef

func (ra ResourceAccessAttributes) InternalRef() (terra.Reference, error)

func (ResourceAccessAttributes) InternalTokens

func (ra ResourceAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourceAccessAttributes) InternalWithRef

func (ResourceAccessAttributes) Type

type ResourceAccessState

type ResourceAccessState struct {
	Id   string `json:"id"`
	Type string `json:"type"`
}

type Saml2Token

type Saml2Token struct {
	// AdditionalProperties: list of string, optional
	AdditionalProperties terra.ListValue[terra.StringValue] `hcl:"additional_properties,attr"`
	// Essential: bool, optional
	Essential terra.BoolValue `hcl:"essential,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Source: string, optional
	Source terra.StringValue `hcl:"source,attr"`
}

type Saml2TokenAttributes

type Saml2TokenAttributes struct {
	// contains filtered or unexported fields
}

func (Saml2TokenAttributes) AdditionalProperties

func (st Saml2TokenAttributes) AdditionalProperties() terra.ListValue[terra.StringValue]

func (Saml2TokenAttributes) Essential

func (st Saml2TokenAttributes) Essential() terra.BoolValue

func (Saml2TokenAttributes) InternalRef

func (st Saml2TokenAttributes) InternalRef() (terra.Reference, error)

func (Saml2TokenAttributes) InternalTokens

func (st Saml2TokenAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Saml2TokenAttributes) InternalWithRef

func (st Saml2TokenAttributes) InternalWithRef(ref terra.Reference) Saml2TokenAttributes

func (Saml2TokenAttributes) Name

func (Saml2TokenAttributes) Source

type Saml2TokenState

type Saml2TokenState struct {
	AdditionalProperties []string `json:"additional_properties"`
	Essential            bool     `json:"essential"`
	Name                 string   `json:"name"`
	Source               string   `json:"source"`
}

type SinglePageApplication

type SinglePageApplication struct {
	// RedirectUris: set of string, optional
	RedirectUris terra.SetValue[terra.StringValue] `hcl:"redirect_uris,attr"`
}

type SinglePageApplicationAttributes

type SinglePageApplicationAttributes struct {
	// contains filtered or unexported fields
}

func (SinglePageApplicationAttributes) InternalRef

func (SinglePageApplicationAttributes) InternalTokens

func (spa SinglePageApplicationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SinglePageApplicationAttributes) InternalWithRef

func (SinglePageApplicationAttributes) RedirectUris

type SinglePageApplicationState

type SinglePageApplicationState struct {
	RedirectUris []string `json:"redirect_uris"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

type Web

type Web struct {
	// HomepageUrl: string, optional
	HomepageUrl terra.StringValue `hcl:"homepage_url,attr"`
	// LogoutUrl: string, optional
	LogoutUrl terra.StringValue `hcl:"logout_url,attr"`
	// RedirectUris: set of string, optional
	RedirectUris terra.SetValue[terra.StringValue] `hcl:"redirect_uris,attr"`
	// ImplicitGrant: optional
	ImplicitGrant *ImplicitGrant `hcl:"implicit_grant,block"`
}

type WebAttributes

type WebAttributes struct {
	// contains filtered or unexported fields
}

func (WebAttributes) HomepageUrl

func (w WebAttributes) HomepageUrl() terra.StringValue

func (WebAttributes) ImplicitGrant

func (WebAttributes) InternalRef

func (w WebAttributes) InternalRef() (terra.Reference, error)

func (WebAttributes) InternalTokens

func (w WebAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WebAttributes) InternalWithRef

func (w WebAttributes) InternalWithRef(ref terra.Reference) WebAttributes

func (WebAttributes) LogoutUrl

func (w WebAttributes) LogoutUrl() terra.StringValue

func (WebAttributes) RedirectUris

func (w WebAttributes) RedirectUris() terra.SetValue[terra.StringValue]

type WebState

type WebState struct {
	HomepageUrl   string               `json:"homepage_url"`
	LogoutUrl     string               `json:"logout_url"`
	RedirectUris  []string             `json:"redirect_uris"`
	ImplicitGrant []ImplicitGrantState `json:"implicit_grant"`
}

Jump to

Keyboard shortcuts

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