gfbgraph Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
Synopsis
#include <gfbgraph/gfbgraph-simple-authorizer.h>
struct GFBGraphSimpleAuthorizer;
struct GFBGraphSimpleAuthorizerClass;
GFBGraphSimpleAuthorizer * gfbgraph_simple_authorizer_new
(const gchar *access_token
);
Description
GFBGraphSimpleAuthorizer provides an implementation of the GFBGraphAuthorizer interface for authorization using a access token provided in creation time, no refresh, just a simple authorizer for test purposes, don't use in final code.
Details
struct GFBGraphSimpleAuthorizerClass
struct GFBGraphSimpleAuthorizerClass { GObjectClass parent_class; };
gfbgraph_simple_authorizer_new ()
GFBGraphSimpleAuthorizer * gfbgraph_simple_authorizer_new
(const gchar *access_token
);
Creates a new GFBGraphAuthorizer to use with the GFBGraph library using the access_token
as access token.
It's only a test authorizer, don't use in final code.
|
a const gchar . |
Returns : |
a GFBGraphSimpleAuthorizer. [transfer full] |
Property Details
The "access-token"
property
"access-token" gchar* : Read / Write
The access token for the Facebook Graph API.
Default value: ""