cmd

package
v0.0.0-...-747ec46 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const SCOPE string = "" /* 259-byte string literal not displayed */

Variables

View Source
var AUTHURL string
View Source
var ArtifactServiceUrl string
View Source
var CLIENTID string
View Source
var CLIENTSECRET string
View Source
var IAMURL string
View Source
var SERVER string
View Source
var TENANTDOMAIN string

Functions

func Execute

func Execute()

Types

type Application

type Application struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Self        string `json:"self"`
}

type ArtifactInfo

type ArtifactInfo struct {
	Name string `json:"name"`
}

type Data

type Data struct {
	Data     string   `json:"data"`
	Metadata Metadata `json:"metadata"`
}

type Export

type Export struct {
	ApplicationID string `json:"applicationId"`
}

type HttpResponse

type HttpResponse struct {
	Error        bool   `json:"error"`
	ErrorMessage string `json:"errorMessage"`
	ResponseData ResponseData
}

Response from artifact-service

type List

type List struct {
	TotalResults int           `json:"totalResults"`
	StartIndex   int           `json:"startIndex"`
	Count        int           `json:"count"`
	Applications []Application `json:"applications"`
	Links        []string      `json:"links"`
}

type Metadata

type Metadata struct {
	Path      string `json:"path"`
	Operation string `json:"operation"`
}

type Parts

type Parts struct {
	GrantTypes   []string `json:"grantTypes"`
	CallbackURLs []string `json:"callbackURLs"`
	PublicClient bool     `json:"publicClient"`
}

type Parts1

type Parts1 struct {
	Oidc Parts `json:"oidc"`
}

type ResponseData

type ResponseData struct {
	ArtifactInfo ArtifactInfo
	Data         []Data
}

type SampleSP

type SampleSP struct {
	Server       string `json:"server"`
	ClientID     string `json:"clientID"`
	ClientSecret string `json:"clientSecret"`
	Tenant       string `json:"tenant"`
}

type ServerDetails

type ServerDetails struct {
	Server       string `json:"server"`
	AccessToken  string `json:"accessToken"`
	RefreshToken string `json:"refreshToken"`
}

type ServerInfo

type ServerInfo struct {
	Server      string `json:"server"`
	PackageName string `json:"packageName"`
	Application string `json:"application"`
}

type ServiceProvider

type ServiceProvider struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type ServiceProviderOAuth

type ServiceProviderOAuth struct {
	Name                         string `json:"name"`
	Description                  string `json:"description"`
	InboundProtocolConfiguration Parts1 `json:"inboundProtocolConfiguration"`
}

type ServiceProviderXml

type ServiceProviderXml struct {
	XMLName                     xml.Name `xml:"ServiceProvider"`
	Text                        string   `xml:",chardata"`
	ApplicationName             string   `xml:"ApplicationName"`
	Description                 string   `xml:"Description"`
	JwksUri                     string   `xml:"JwksUri"`
	InboundAuthenticationConfig struct {
		Text                                string `xml:",chardata"`
		InboundAuthenticationRequestConfigs struct {
			Text                               string `xml:",chardata"`
			InboundAuthenticationRequestConfig []struct {
				Text                 string `xml:",chardata"`
				InboundAuthKey       string `xml:"InboundAuthKey"`
				InboundAuthType      string `xml:"InboundAuthType"`
				InboundConfigType    string `xml:"InboundConfigType"`
				Properties           string `xml:"Properties"`
				InboundConfiguration string `xml:"inboundConfiguration"`
			} `xml:"InboundAuthenticationRequestConfig"`
		} `xml:"InboundAuthenticationRequestConfigs"`
	} `xml:"InboundAuthenticationConfig"`
	LocalAndOutBoundAuthenticationConfig struct {
		Text                                  string `xml:",chardata"`
		AuthenticationSteps                   string `xml:"AuthenticationSteps"`
		AuthenticationType                    string `xml:"AuthenticationType"`
		AlwaysSendBackAuthenticatedListOfIdPs string `xml:"alwaysSendBackAuthenticatedListOfIdPs"`
		UseTenantDomainInUsername             string `xml:"UseTenantDomainInUsername"`
		UseUserstoreDomainInRoles             string `xml:"UseUserstoreDomainInRoles"`
		UseUserstoreDomainInUsername          string `xml:"UseUserstoreDomainInUsername"`
		SkipConsent                           string `xml:"SkipConsent"`
		SkipLogoutConsent                     string `xml:"skipLogoutConsent"`
		EnableAuthorization                   string `xml:"EnableAuthorization"`
	} `xml:"LocalAndOutBoundAuthenticationConfig"`
	RequestPathAuthenticatorConfigs string `xml:"RequestPathAuthenticatorConfigs"`
	InboundProvisioningConfig       struct {
		Text                  string `xml:",chardata"`
		ProvisioningUserStore string `xml:"ProvisioningUserStore"`
		IsProvisioningEnabled string `xml:"IsProvisioningEnabled"`
		IsDumbModeEnabled     string `xml:"IsDumbModeEnabled"`
	} `xml:"InboundProvisioningConfig"`
	OutboundProvisioningConfig struct {
		Text                          string `xml:",chardata"`
		ProvisioningIdentityProviders string `xml:"ProvisioningIdentityProviders"`
	} `xml:"OutboundProvisioningConfig"`
	ClaimConfig struct {
		Text                           string `xml:",chardata"`
		RoleClaimURI                   string `xml:"RoleClaimURI"`
		LocalClaimDialect              string `xml:"LocalClaimDialect"`
		IdpClaim                       string `xml:"IdpClaim"`
		ClaimMappings                  string `xml:"ClaimMappings"`
		AlwaysSendMappedLocalSubjectId string `xml:"AlwaysSendMappedLocalSubjectId"`
		SPClaimDialects                string `xml:"SPClaimDialects"`
	} `xml:"ClaimConfig"`
	PermissionAndRoleConfig struct {
		Text         string `xml:",chardata"`
		Permissions  string `xml:"Permissions"`
		RoleMappings string `xml:"RoleMappings"`
		IdpRoles     string `xml:"IdpRoles"`
	} `xml:"PermissionAndRoleConfig"`
	IsSaaSApp      string `xml:"IsSaaSApp"`
	ImageUrl       string `xml:"ImageUrl"`
	AccessUrl      string `xml:"AccessUrl"`
	IsDiscoverable string `xml:"IsDiscoverable"`
}

Jump to

Keyboard shortcuts

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