#Purity OAuth2

A simple oauth2 library for the purity framework.

##Trying the login flow

To view the login flow in action you can run the demo/tests in 3 ways:

  • To see the real login flow with the host making requests to google services run pub build then run build/bin/host.dart then navigate to localhost:4346 and follow the on screen instructions to use the commands g-login then requestUserDetails.

  • To see the login flow being mocked with the purity framework, run test/integration/index_with_purity.html enter showComs to view the communications window, then enter newClient, then in the new client window enter g-login then enter requestUserDetails.

  • To see the login flow being mocked without the purity framework, run test/integration/index_without_purity.html, and enter g-login then enter requestUserDetails.

Libraries

purity.oauth2.interface

Author: Daniel Robinson http://github.com/0xor1

purity.oauth2.mock.model

Author: Daniel Robinson http://github.com/0xor1

purity.oauth2.model

Author: Daniel Robinson http://github.com/0xor1

purity.oauth2.test.view

Author: Daniel Robinson http://github.com/0xor1