Ggit.CredPlaintext

g GObject.GInterface GObject.GInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object Ggit.ObjectFactoryBase Ggit.ObjectFactoryBase GObject.Object->Ggit.ObjectFactoryBase Ggit.Cred Ggit.Cred Ggit.CredPlaintext Ggit.CredPlaintext Ggit.Cred->Ggit.CredPlaintext Ggit.Native Ggit.Native Ggit.Native->Ggit.Cred Ggit.ObjectFactoryBase->Ggit.Native Gio.Initable->Ggit.CredPlaintext

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

class

new (username, password)

get_password ()

get_username ()

Virtual Methods

Inherited:

GObject.Object (7), Gio.Initable (1)

Properties

Inherited:

Ggit.Native (1)

Name

Type

Flags

Short Description

password

str

r/w/co

The password

username

str

r/w/co

The user name

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Ggit.Cred

r

Class Details

class Ggit.CredPlaintext(**kwargs)
Bases:

Ggit.Cred, Gio.Initable

Abstract:

No

Structure:

Ggit.CredPlaintextClass

Represents a plain text credential.

classmethod new(username, password)
Parameters:
  • username (str) –

  • password (str) –

Raises:

GLib.Error

Return type:

Ggit.CredPlaintext

get_password()
Return type:

str

get_username()
Return type:

str

Property Details

Ggit.CredPlaintext.props.password
Name:

password

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The password

Ggit.CredPlaintext.props.username
Name:

username

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The user name