entities

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Copyright 2024 BeyondTrust. All rights reserved. Package entities implements DTO's used by Beyondtrust Secret Safe API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetTokenResponse

type GetTokenResponse struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
	TokenType   string `json:"token_type"`
	Scope       string `json:"scope"`
}

GetTokenResponse responsible for token response data.

type ManagedAccount

type ManagedAccount struct {
	SystemId  int
	AccountId int
}

ManagedAccount responsible for managed account response data.

type Secret

type Secret struct {
	Id         string
	Title      string
	Password   string
	SecretType string
}

Secret responsible for secrets-safe response data.

type SignApinResponse

type SignApinResponse struct {
	UserId       int    `json:"UserId"`
	EmailAddress string `json:"EmailAddress"`
	UserName     string `json:"UserName"`
	Name         string `json:"Name"`
}

SignApinResponse responsbile for API sign in information.

Jump to

Keyboard shortcuts

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