account

package
v0.0.0-...-0b202e4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInformation

type UserInformation struct {
	ID    string
	Name  string
	Image string
}

func GetUserInformation

func GetUserInformation(conn *dbus.Conn, window string, options ...map[string]dbus.Variant) (*UserInformation, error)

GetUserInformation returns the user information for the given window. Options are key-value pairs. handle_token(s), session_handle_token(s), reason(s) https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Account.html

Jump to

Keyboard shortcuts

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