RubyGems Navigation menu

google-auth-token_validator 0.1.0

The Google Sign-In API gives OAuth2 JSON Web Tokens (JWT) as response data upon user sign-in. A necessary step for a service provider to trust such a token involves validating the token, rather than simply trusting the token, which would allow a malicious client to simply assert itself. Google provides libraries in several languages (https://goo.gl/jkzS18) to serve this function, as well as an API endpoint that can outsource the task to Google's own servers (thereby introducing an additional network round trip into every authentication step), but a Ruby implementation is missing. This gem fills that gap.

Gemfile:
=

instalar:
=

Versiones:

  1. 0.1.2 September 17, 2017 (10 KB)
  2. 0.1.0 September 17, 2017 (10 KB)
Mostrar todas las versiones (3 total)

dependencias de Development (6):

bundler ~> 1.15
coveralls ~> 0.8
dotenv ~> 2.2
pry ~> 0.10
rake ~> 10.0
rspec ~> 3.0

Propietarios:

Autores:

  • Hamza Tayeb

SHA 256 checksum:

=

Total de descargas 16.421

Para esta versión 1.843

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: