configuration

package
v0.0.0-...-3d04876 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultDlmServer Production URL to kyt-dlm-server
	DefaultDlmServer = "https://testing.dlm.edgefarm.io/v1"
	// DefaultAlmServer Production URL to kyt-alm-server
	DefaultAlmServer = "https://testing.alm.edgefarm.io/v1"
)
View Source
const (
	// TokenEndpoint Token request URL
	TokenEndpoint = "https://edgefarm-dev.eu.auth0.com/oauth/token"
	// ClientID kyt-cli client id
	ClientID = "FTc7m81Z4awKUcLziMhVINCg50xreDmp"
)
View Source
const (
	// DlmScope is the name of the scope for dlm apis
	DlmScope = "dlm"
	// AlmScope is the name of the scope for alm apis
	AlmScope = "alm"
)

Variables

This section is empty.

Functions

func GetConstScopes

func GetConstScopes(ressource string) ([]string, error)

GetConstScopes returns the scopes for the requested ressource that are configured for the application. At least one scope is needed for a successfull login. If no scopes are defined, there will be no token assigned and returns with error code 400.

Types

This section is empty.

Jump to

Keyboard shortcuts

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