Diferencia entre revisiones de «Usuario:ManuelRomero/PHP/hibridas/practica 2018»

De WikiEducator
Saltar a: navegación, buscar
(Librería Auth2.0 para php)
 
(Una revisión intermedia por el mismo usuario no mostrado)
Línea 9: Línea 9:
 
===Mostar errores===
 
===Mostar errores===
 
*https://developers.google.com/drive/v3/web/handle-errors#401_invalid_credentials
 
*https://developers.google.com/drive/v3/web/handle-errors#401_invalid_credentials
 +
*https://www.googleapis.com/oauth2/v1/tokeninfo
 +
 
===Proceso de autentificación===
 
===Proceso de autentificación===
 
*https://developers.google.com/identity/protocols/OAuth2
 
*https://developers.google.com/identity/protocols/OAuth2
 
===Librería Auth2.0 para php===
 
===Librería Auth2.0 para php===
 
*https://developers.google.com/identity/protocols/OAuth2
 
*https://developers.google.com/identity/protocols/OAuth2
https://developers.google.com/api-client-library/php/
+
*https://developers.google.com/api-client-library/php/
 +
*Scopes https://developers.google.com/identity/protocols/googlescopes
 
*REferencia oficial
 
*REferencia oficial
 
*https://tools.ietf.org/html/rfc6749
 
*https://tools.ietf.org/html/rfc6749

Última revisión de 09:56 19 feb 2018


Acciones concretas

Primero vamos a la consola de google y creamos nuestro proyecto

https://console.developers.google.com/apis

  • Creamos un proyecto
  • Creamos credenciales de ese proyecto
  • ID De cliente OAuth

Mostar errores

Proceso de autentificación

Librería Auth2.0 para php