Gjsify LogoGjsify Logo

Index

Functions

  • Asynchronously get authorization to install/remove snaps. See snapd_login_sync() for more information.

    Parameters

    • username: string

      username to log in with.

    • password: string

      password to log in with.

    • otp: string

      response to one-time password challenge.

    • cancellable: Gio.Cancellable

      a #GCancellable or %NULL.

    • callback: AsyncReadyCallback

      a #GAsyncReadyCallback to call when the request is satisfied.

    Returns void

  • This call used to contact a D-Bus service to perform snapd authentication using Polkit. This now just creates a #SnapdClient and does the call directly.

    Parameters

    • username: string

      username to log in with.

    • password: string

      password to log in with.

    • otp: string

      response to one-time password challenge.

    • cancellable: Gio.Cancellable

      a #GCancellable or %NULL.

    Returns Snapd.AuthData

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method