Ggit.CredSshInteractive

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.CredSshInteractive Ggit.CredSshInteractive Ggit.Cred->Ggit.CredSshInteractive Ggit.Native Ggit.Native Ggit.Native->Ggit.Cred Ggit.ObjectFactoryBase->Ggit.Native Gio.Initable->Ggit.CredSshInteractive

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new (username)

get_username ()

Virtual Methods

Inherited:

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

do_prompt (prompts)

Properties

Inherited:

Ggit.Native (1)

Name

Type

Flags

Short Description

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.CredSshInteractive(**kwargs)
Bases:

Ggit.Cred, Gio.Initable

Abstract:

No

Structure:

Ggit.CredSshInteractiveClass

Represents a ssh interactive credential.

classmethod new(username)
Parameters:

username (str) –

Raises:

GLib.Error

Return type:

Ggit.CredSshInteractive

get_username()
Return type:

str

do_prompt(prompts) virtual
Parameters:

prompts ([Ggit.CredSshInteractivePrompt]) – a list of prompts.

Property Details

Ggit.CredSshInteractive.props.username
Name:

username

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The user name