uaa

package
v0.0.0-...-dc8ed20 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XSAppname

func XSAppname(domain string) string

Types

type Config

type Config struct {
	DeveloperGroup      string
	DeveloperRole       string
	NamespaceAdminGroup string
	NamespaceAdminRole  string
}

Config holds configuration for the UAA domain

type Oauth2Configuration

type Oauth2Configuration struct {
	RedirectUris     []string `json:"redirect-uris"`
	SystemAttributes []string `json:"system-attributes"`
}

type ParametersFactory

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

func NewParametersFactory

func NewParametersFactory(cfg Config) *ParametersFactory

func (*ParametersFactory) Generate

func (pf *ParametersFactory) Generate(shootName, domain, xsappname string) Schema

type RoleCollection

type RoleCollection struct {
	Name                  string   `json:"name"`
	Description           string   `json:"description"`
	RoleTemplateReference []string `json:"role-template-references"`
}

type RoleTemplate

type RoleTemplate struct {
	Name            string   `json:"name"`
	Description     string   `json:"description"`
	ScopeReferences []string `json:"scope-references"`
}

type Schema

type Schema struct {
	Xsappname           string              `json:"xsappname"`
	TenantMode          string              `json:"tenant-mode"`
	Scopes              []Scope             `json:"scopes"`
	Authorities         []string            `json:"authorities"`
	RoleTemplates       []RoleTemplate      `json:"role-templates"`
	RoleCollections     []RoleCollection    `json:"role-collections"`
	Oauth2Configuration Oauth2Configuration `json:"oauth2-configuration"`
}

type Scope

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

Jump to

Keyboard shortcuts

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