Skip to content

gkelly/client_login_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

client_login_client is a very lightweight ClientLogin authenticator, which is useful for people building applications that want to use the Google Data Protocol.

client_login_client was designed to be as painless as possible to use, and only depends on libCURL, through which is supports authentication over SSL.

Example

The API was designed to be exceptionally simple. The following is how you'd go about authenticating an account and getting the authentication token.

client_login_client *client = client_login_client_new();
client_login_client_set_email(client, "fake_email_address@gmail.com");
client_login_client_set_password(client, "fake_password");
client_login_client_set_service(client, "jotspot");

char *auth_token = NULL;
if (client_login_client_authenticate(client, &auth_token)) {
  // Authentication succeeded.
  free(auth_token);
}

About

A very lightweight ClientLogin authenticator for use with Google's GData APIs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages