client

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlasmidClient

type PlasmidClient struct {
	BaseUrl *url.URL
}

func New

func New(baseUrl string) (*PlasmidClient, error)

func (*PlasmidClient) ServiceAdd

func (p *PlasmidClient) ServiceAdd(service string, metaUrl string) error

func (*PlasmidClient) ServiceDel

func (p *PlasmidClient) ServiceDel(serviceName string) error

func (*PlasmidClient) ServiceList

func (p *PlasmidClient) ServiceList() ([]string, error)

func (*PlasmidClient) SessionDel

func (p *PlasmidClient) SessionDel(sessionId string) error

func (*PlasmidClient) SessionGet

func (p *PlasmidClient) SessionGet(sessionId string) (*saml.Session, error)

func (*PlasmidClient) SessionList

func (p *PlasmidClient) SessionList() ([]string, error)

func (*PlasmidClient) ShortcutAdd

func (p *PlasmidClient) ShortcutAdd(shortcut *idp.Shortcut) error

func (*PlasmidClient) ShortcutDel

func (p *PlasmidClient) ShortcutDel(shortcutName string) error

func (*PlasmidClient) ShortcutList

func (p *PlasmidClient) ShortcutList() ([]string, error)

func (*PlasmidClient) UserAdd

func (p *PlasmidClient) UserAdd(user *idp.User) error

func (*PlasmidClient) UserDel

func (p *PlasmidClient) UserDel(username string) error

func (*PlasmidClient) UserGet

func (p *PlasmidClient) UserGet(username string) (*idp.User, error)

func (*PlasmidClient) UserList

func (p *PlasmidClient) UserList() ([]string, error)

type UserList

type UserList struct {
	Users []*idp.User
}

Jump to

Keyboard shortcuts

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