Git Product home page Git Product logo

google4d's Introduction

Google4D

Google's client library for Delphi

Target

O Google4D é uma biblioteca que permite o usuário que programa em Delphi consumir as api's da Google de forma simples e segura. Este é um projeto de longo prazo que permitirá a comunidade Delphi contribuir e melhorar o código, seguindo de perto a documentação disponibilizada pela Google.

OAuth2Google4D

A Google permite várias formas de autenticação como as que se segue:

  • OAuth2 for Webserver applications
  • OAuth2 for Installed applications
  • OAuth2 for Client-side (JavaScript) applications
  • OAuth2 for Applications on limited-input devices
  • OAuth2 for Service accounts (Server to Server Applications)

Para mais informações consulte a documentações da Google OAuth 2.0 to Access Google APIs

Como funciona OAuth2 Server to Server

Workflow OAuth2 Server to Server

Esta biblioteca por enquanto está habilitada para fazer requisições usando OAuth2 for Service accounts (Server to server applications).

Como configurar (How setting)

Create enviroment variable at path

  1. Como configurar a variável de ambiente
  2. No seu código poderá realizar a seguinte chamada. 2.1 Exemplo baseado no Google Calendar
interface
..
implemetation
uses
 Model.Adapters.OAuth2.OAuthGoogle4D;
var
 LToken : String; 
begin
 LToken := TOAuth2Google4D.New
            .SetScope(TScopesGoogleCalendar4D.READ_WRITE)
            .Credentials
            .GetToken
            .Token
            .GetAccesToken;
end;
  1. Google Calendar Example

To-do List

  • Implementar api de IAM Credential
  • Implementar OAuth2 WebServer Applications
  • Implementar OAuth2 Installed applications
  • Implementar API's Google Cloud

google4d's People

Contributors

moraisg avatar

Forkers

pablocampoydev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.