application_authorization

package
v1.4.3-beta Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 8 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
	Application    string
	Name           string
	Type           string
	Position       string
	TokenName      string
	Config         string
	Creator        string
	Updater        string
	CreateTime     time.Time
	UpdateTime     time.Time
	ExpireTime     int64
	HideCredential bool
}

func FromEntity

func FromEntity(e *service.Authorization) *Authorization

type Create

type Create struct {
	UUID           string
	Application    string
	Name           string
	Type           string
	Position       string
	TokenName      string
	Config         string
	AuthID         string
	ExpireTime     int64
	HideCredential bool
}

type Edit

type Edit struct {
	Name           *string
	Position       *string
	TokenName      *string
	Config         *string
	ExpireTime     *int64
	HideCredential *bool
	AuthID         *string
}

Jump to

Keyboard shortcuts

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