ZpjGoaAuthorizer

ZpjGoaAuthorizer — A GNOME Online Accounts authorizer object for Windows Live Connect.

Synopsis

#include <zpj/zpj.h>

struct              ZpjGoaAuthorizer;
struct              ZpjGoaAuthorizerClass;
GoaObject *         zpj_goa_authorizer_get_goa_object   (ZpjGoaAuthorizer *self);
ZpjGoaAuthorizer *  zpj_goa_authorizer_new              (GoaObject *goa_object);

Object Hierarchy

  GObject
   +----ZpjGoaAuthorizer

Implemented Interfaces

ZpjGoaAuthorizer implements ZpjAuthorizer.

Properties

  "goa-object"               GoaObject*            : Read / Write / Construct Only

Description

ZpjGoaAuthorizer provides an implementation of the ZpjAuthorizer interface using GNOME Online Accounts.

Details

struct ZpjGoaAuthorizer

struct ZpjGoaAuthorizer;

The ZpjGoaAuthorizer structure contains only private data and should only be accessed using the provided API.


struct ZpjGoaAuthorizerClass

struct ZpjGoaAuthorizerClass {
  GObjectClass parent_class;
};

Class structure for ZpjGoaAuthorizer.

GObjectClass parent_class;

The parent class.

zpj_goa_authorizer_get_goa_object ()

GoaObject *         zpj_goa_authorizer_get_goa_object   (ZpjGoaAuthorizer *self);

Gets the GOA account used by self for authorization.

self :

A ZpjGoaAuthorizer.

Returns :

A GoaObject. The returned object is owned by ZpjGoaAuthorizer and should not be modified or freed. [transfer none]

zpj_goa_authorizer_new ()

ZpjGoaAuthorizer *  zpj_goa_authorizer_new              (GoaObject *goa_object);

Creates a new ZpjGoaAuthorizer using goa_object.

goa_object :

A GoaObject representing a Windows Live account.

Returns :

A new ZpjGoaAuthorizer. Free the returned object with g_object_unref(). [transfer full]

Property Details

The "goa-object" property

  "goa-object"               GoaObject*            : Read / Write / Construct Only

The GOA account to authenticate.