leanix

package
v0.0.0-...-2601f63 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(fqdn string, token string) (string, error)

Authenticate uses token to authenticate against MTM and response with access_token

Types

type AuthResponse

type AuthResponse struct {
	Scope       string `json:"scope"`
	Expired     bool   `json:"expired"`
	AccessToken string `json:"access_token"`
	TokenType   string `json:"token_type"`
	ExpiresIn   int    `json:"expires_in"`
}

AuthResponse struct

type SyncRunResponse

type SyncRunResponse struct {
	ID          string `json:"id"`
	Status      string `json:"status"`
	Description string `json:"description"`
}

SyncRunResponse struct

Jump to

Keyboard shortcuts

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