application_authorization_dto

package
v1.3.3-beta Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization

type Authorization struct {
	UUID           string                 `json:"id"`
	Name           string                 `json:"name"`
	Driver         string                 `json:"driver"`
	Position       string                 `json:"position"`
	TokenName      string                 `json:"token_name"`
	Config         map[string]interface{} `json:"config"`
	ExpireTime     int64                  `json:"expire_time"`
	HideCredential bool                   `json:"hide_credential"`
}

type AuthorizationItem

type AuthorizationItem struct {
	Id             string         `json:"id"`
	Name           string         `json:"name"`
	Driver         string         `json:"driver"`
	ExpireTime     int64          `json:"expire_time"`
	Position       string         `json:"position"`
	TokenName      string         `json:"token_name"`
	Creator        auto.Label     `json:"creator" aolabel:"user"`
	Updater        auto.Label     `json:"updater" aolabel:"user"`
	CreateTime     auto.TimeLabel `json:"create_time"`
	UpdateTime     auto.TimeLabel `json:"update_time"`
	HideCredential bool           `json:"hide_credential"`
}

type CreateAuthorization

type CreateAuthorization struct {
	UUID           string                 `json:"uuid"`
	Name           string                 `json:"name"`
	Driver         string                 `json:"driver"`
	Position       string                 `json:"position"`
	TokenName      string                 `json:"token_name"`
	ExpireTime     int64                  `json:"expire_time"`
	Config         map[string]interface{} `json:"config"`
	HideCredential bool                   `json:"hide_credential"`
}

type DetailItem

type DetailItem struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type EditAuthorization

type EditAuthorization struct {
	Name           *string                 `json:"name"`
	Position       *string                 `json:"position"`
	TokenName      *string                 `json:"token_name"`
	ExpireTime     *int64                  `json:"expire_time"`
	Config         *map[string]interface{} `json:"config"`
	HideCredential *bool                   `json:"hide_credential"`
}

type ExportAuthorization

type ExportAuthorization struct {
	Application    string                 `json:"application"`
	UUID           string                 `json:"id"`
	Name           string                 `json:"name"`
	Driver         string                 `json:"driver"`
	Position       string                 `json:"position"`
	TokenName      string                 `json:"token_name"`
	Config         map[string]interface{} `json:"config"`
	ExpireTime     int64                  `json:"expire_time"`
	HideCredential bool                   `json:"hide_credential"`
}

Jump to

Keyboard shortcuts

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