security

package
v0.0.0-...-f63ad88 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertificateRequest

func NewCertificateRequest(proxyUrl string) (*security.CertificateRequest, error)

Types

type SecurityAnonymousService

type SecurityAnonymousService client.Service

func NewSecurityAnonymousService

func NewSecurityAnonymousService(c *client.Client) *SecurityAnonymousService

func (*SecurityAnonymousService) Read

Get Anonymous Access settings

func (*SecurityAnonymousService) Update

type SecurityContentSelectorService

type SecurityContentSelectorService client.Service

func NewSecurityContentSelectorService

func NewSecurityContentSelectorService(c *client.Client) *SecurityContentSelectorService

func (SecurityContentSelectorService) Create

func (SecurityContentSelectorService) Delete

func (SecurityContentSelectorService) Get

func (SecurityContentSelectorService) List

func (SecurityContentSelectorService) Update

type SecurityLdapService

type SecurityLdapService client.Service

func NewSecurityLdapService

func NewSecurityLdapService(c *client.Client) *SecurityLdapService

func (*SecurityLdapService) ChangeOrder

func (s *SecurityLdapService) ChangeOrder(order []string) error

func (*SecurityLdapService) Create

func (s *SecurityLdapService) Create(ldap security.LDAP) error

func (*SecurityLdapService) Delete

func (s *SecurityLdapService) Delete(name string) error

func (*SecurityLdapService) Get

func (s *SecurityLdapService) Get(name string) (*security.LDAP, error)

func (*SecurityLdapService) List

func (s *SecurityLdapService) List() ([]security.LDAP, error)

func (*SecurityLdapService) Update

func (s *SecurityLdapService) Update(name string, ldap security.LDAP) error

type SecurityPrivilegeService

type SecurityPrivilegeService client.Service

func NewSecurityPrivilegeService

func NewSecurityPrivilegeService(c *client.Client) *SecurityPrivilegeService

func (*SecurityPrivilegeService) Create

func (*SecurityPrivilegeService) Delete

func (s *SecurityPrivilegeService) Delete(name string) error

func (*SecurityPrivilegeService) Get

func (*SecurityPrivilegeService) List

func (*SecurityPrivilegeService) Update

type SecurityRealmService

type SecurityRealmService client.Service

func NewSecurityRealmService

func NewSecurityRealmService(c *client.Client) *SecurityRealmService

func (*SecurityRealmService) Activate

func (s *SecurityRealmService) Activate(ids []string) error

func (*SecurityRealmService) ListActive

func (s *SecurityRealmService) ListActive() ([]string, error)

func (*SecurityRealmService) ListAvailable

func (s *SecurityRealmService) ListAvailable() ([]security.Realm, error)

type SecurityRoleService

type SecurityRoleService client.Service

func NewSecurityRoleService

func NewSecurityRoleService(c *client.Client) *SecurityRoleService

func (*SecurityRoleService) Create

func (s *SecurityRoleService) Create(role security.Role) error

func (*SecurityRoleService) Delete

func (s *SecurityRoleService) Delete(id string) error

func (*SecurityRoleService) Get

func (s *SecurityRoleService) Get(id string) (*security.Role, error)

func (*SecurityRoleService) Update

func (s *SecurityRoleService) Update(id string, role security.Role) error

type SecuritySSLService

type SecuritySSLService client.Service

func NewSecuritySSLService

func NewSecuritySSLService(c *client.Client) *SecuritySSLService

func (*SecuritySSLService) AddCertificate

func (s *SecuritySSLService) AddCertificate(certificate *security.SSLCertificate) error

Add a certificate to the trust store

func (*SecuritySSLService) GetCertificate

Get a certificate in the trust store

func (*SecuritySSLService) ListCertificates

func (s *SecuritySSLService) ListCertificates() (*[]security.SSLCertificate, error)

Retrieve a list of certificates added to the trust store

func (*SecuritySSLService) RemoveCertificate

func (s *SecuritySSLService) RemoveCertificate(id string) error

Remove a certificate in the trust store

type SecuritySamlService

type SecuritySamlService client.Service

func NewSecuritySamlService

func NewSecuritySamlService(c *client.Client) *SecuritySamlService

func (*SecuritySamlService) Apply

func (s *SecuritySamlService) Apply(saml security.SAML) error

func (*SecuritySamlService) Delete

func (s *SecuritySamlService) Delete() error

func (*SecuritySamlService) Read

func (s *SecuritySamlService) Read() (*security.SAML, error)

type SecurityService

type SecurityService struct {

	// API Services
	Anonymous       *SecurityAnonymousService
	ContentSelector *SecurityContentSelectorService
	LDAP            *SecurityLdapService
	Privilege       *SecurityPrivilegeService
	Realm           *SecurityRealmService
	Role            *SecurityRoleService
	SAML            *SecuritySamlService
	SSL             *SecuritySSLService
	User            *SecurityUserService
	UserTokens      *SecurityUserTokensService
	// contains filtered or unexported fields
}

func NewSecurityService

func NewSecurityService(c *client.Client) *SecurityService

type SecurityUserService

type SecurityUserService client.Service

func NewSecurityUserService

func NewSecurityUserService(c *client.Client) *SecurityUserService

func (*SecurityUserService) ChangePassword

func (s *SecurityUserService) ChangePassword(id string, password string) error

func (*SecurityUserService) Create

func (s *SecurityUserService) Create(user security.User) error

func (*SecurityUserService) Delete

func (s *SecurityUserService) Delete(id string) error

func (*SecurityUserService) Get

func (s *SecurityUserService) Get(id string) (*security.User, error)

func (*SecurityUserService) Update

func (s *SecurityUserService) Update(id string, user security.User) error

type SecurityUserTokensService

type SecurityUserTokensService client.Service

func NewSecurityUserTokensService

func NewSecurityUserTokensService(c *client.Client) *SecurityUserTokensService

func (*SecurityUserTokensService) Configure

func (*SecurityUserTokensService) Get

Jump to

Keyboard shortcuts

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