Authentication

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
A API Restful do Social-ID NOW utiliza autenticação HTTP Basic.
+
All Social-ID NOW Restful APIs make use of HTTP Basic for authentication.
  
A maioria das APIs disponíveis requerem autenticação usando o id e secret de uma Conta de Marketing ou o id e secret de uma Aplicação de Social Login.
+
Most APIs require authentication through the id/secret pair of a Marketing Account or a Social Login App.  
  
Entretanto, algumas APIs pode ser utilizadas sem autenticação, como a API login/info, que exige apenas o Social Login secret disponibilizado na configuração de um Social Login.
+
However, some APIs may be used without any authentication. An example is the login/info API, which requires only the Social Login App secret that can be found in the Social Login App settings.
  
= Autenticação da Conta de Marketing =
+
= Marketing Account Authentication =
  
Cada Conta de Marketing possui um id e secret para acessar as APIs disponíveis.  
+
Each Marketing Account has its own id/secret pair to access available APIs.
  
== Como obter o id e secret da Conta de Marketing? ==
+
== How to get Marketing Account id/secret pair? ==
  
Se você estiver logado no Social-ID NOW e com uma Conta de Marketing já criada, é possível obter as chaves de acesso na seguinte url:
+
Once you log in the Social-ID Now platform and set up a Marketing Account, access keys can be found in the following URL:
  
 
   https://app.socialidnow.com/marketing/apis
 
   https://app.socialidnow.com/marketing/apis
  
== Exemplo ==
+
== Example ==
  
 
   curl --user <api_id>:<api_secret> https://api.socialidnow.com/<path>
 
   curl --user <api_id>:<api_secret> https://api.socialidnow.com/<path>
  
= Autenticação da Aplicação de Social Login =
+
= Social Login App Authentication =
  
Cada Aplicação de Social Login possui um id e secret para acessar as APIs que dependam desse tipo de autenticação. Nessas APIs as informações criadas e/ou obtidas serão sempre associadas à Aplicação de Social Login usada para autenticação.
+
Each Social Login App has its own id/secret pair to access available APIs. In those APIs the information created or retrieved will always be associated with the Social Login App used for authentication.
  
== Como obter o id e secret da Aplicação de Social Login? ==
+
== How to get Social Login App id/secret pair? ==
  
Cada Aplicação de Social Login possui suas chaves de acesso que podem ser obtidas na área de API:
+
Each Social Login App has an API area where access keys can be found:
  
 
   https://app.socialidnow.com/marketing/login/apps/<login_app_id>/apis
 
   https://app.socialidnow.com/marketing/login/apps/<login_app_id>/apis
  
== Exemplo ==
+
== Example ==
  
 
   curl --user <login_app_id>:<api_secret> https://api.socialidnow.com/<path>
 
   curl --user <login_app_id>:<api_secret> https://api.socialidnow.com/<path>

Revision as of 21:02, 31 October 2014

All Social-ID NOW Restful APIs make use of HTTP Basic for authentication.

Most APIs require authentication through the id/secret pair of a Marketing Account or a Social Login App.

However, some APIs may be used without any authentication. An example is the login/info API, which requires only the Social Login App secret that can be found in the Social Login App settings.

Contents

Marketing Account Authentication

Each Marketing Account has its own id/secret pair to access available APIs.

How to get Marketing Account id/secret pair?

Once you log in the Social-ID Now platform and set up a Marketing Account, access keys can be found in the following URL:

  https://app.socialidnow.com/marketing/apis

Example

  curl --user <api_id>:<api_secret> https://api.socialidnow.com/<path>

Social Login App Authentication

Each Social Login App has its own id/secret pair to access available APIs. In those APIs the information created or retrieved will always be associated with the Social Login App used for authentication.

How to get Social Login App id/secret pair?

Each Social Login App has an API area where access keys can be found:

  https://app.socialidnow.com/marketing/login/apps/<login_app_id>/apis

Example

  curl --user <login_app_id>:<api_secret> https://api.socialidnow.com/<path>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox