GgitCredPlaintext

GgitCredPlaintext

Synopsis

                    GgitCredPlaintext;
struct              GgitCredPlaintextClass;
GgitCredPlaintext * ggit_cred_plaintext_new             (const gchar *username,
                                                         const gchar *password,
                                                         GError **error);
const gchar *       ggit_cred_plaintext_get_username    (GgitCredPlaintext *cred);
const gchar *       ggit_cred_plaintext_get_password    (GgitCredPlaintext *cred);

Object Hierarchy

  GObject
   +----GgitObjectFactoryBase
         +----GgitNative
               +----GgitCred
                     +----GgitCredPlaintext

Implemented Interfaces

GgitCredPlaintext implements GInitable.

Properties

  "password"                 gchar*                : Read / Write / Construct Only
  "username"                 gchar*                : Read / Write / Construct Only

Description

Details

GgitCredPlaintext

typedef struct _GgitCredPlaintext GgitCredPlaintext;

Represents a plain text credential.


struct GgitCredPlaintextClass

struct GgitCredPlaintextClass {
};

ggit_cred_plaintext_new ()

GgitCredPlaintext * ggit_cred_plaintext_new             (const gchar *username,
                                                         const gchar *password,
                                                         GError **error);

ggit_cred_plaintext_get_username ()

const gchar *       ggit_cred_plaintext_get_username    (GgitCredPlaintext *cred);

ggit_cred_plaintext_get_password ()

const gchar *       ggit_cred_plaintext_get_password    (GgitCredPlaintext *cred);

Property Details

The "password" property

  "password"                 gchar*                : Read / Write / Construct Only

The password.

Default value: NULL


The "username" property

  "username"                 gchar*                : Read / Write / Construct Only

The user name.

Default value: NULL