omn​​iauth_lab-v-000

时间:2024-03-11 19:29:30
【文件属性】:

文件名称:omn​​iauth_lab-v-000

文件大小:54KB

文件格式:ZIP

更新时间:2024-03-11 19:29:30

Ruby

Omniauth实验室 目标 识别Omniauth中的“策略” 将开发人员策略与Omniauth结合使用 使用Omniauth通过第三方API在Rails服务器中提供OAuth身份验证 介绍 在本实验中,我们将配置Rails应用程序以请求第三方进行身份验证。 典型的第三方身份验证器是Twitter,Facebook和Google。 我们将配置此应用程序以使用GitHub。 我们将不会创建完整的用户注册流程。 根据您使用哪个第三方身份验证器,接收到的数据将有所不同。 因此,我们将提供脚手架,以确保您正在与第三方身份验证器进行交谈,并将对您可能拥有的数据类型设定期望。 在本实验结束时,您将能够“扩展”应用程序以创建用户帐户(可能利用您对Devise或has_secure_password )。 首先,我们将实现由Omniauth提供的称为“开发人员”的简单身份验证方案。 “开发人员”身份


【文件预览】:
omniauth_lab-v-000-master
----.gitignore(724B)
----README.md(11KB)
----bin()
--------update(819B)
--------rails(264B)
--------bundle(125B)
--------yarn(303B)
--------spring(507B)
--------rake(213B)
--------setup(957B)
----test()
--------system()
--------integration()
--------mailers()
--------fixtures()
--------models()
--------helpers()
--------test_helper.rb(290B)
--------application_system_test_case.rb(157B)
--------controllers()
----public()
--------500.html(2KB)
--------robots.txt(98B)
--------apple-touch-icon-precomposed.png(0B)
--------422.html(2KB)
--------apple-touch-icon.png(0B)
--------404.html(2KB)
--------favicon.ico(0B)
----Gemfile(2KB)
----db()
--------seeds.rb(370B)
----log()
--------.keep(0B)
----app()
--------jobs()
--------views()
--------mailers()
--------channels()
--------models()
--------helpers()
--------assets()
--------controllers()
----.learn(101B)
----.rspec(30B)
----package.json(70B)
----CONTRIBUTING.md(2KB)
----vendor()
--------.keep(0B)
----Gemfile.lock(6KB)
----config()
--------database.yml(594B)
--------spring.rb(111B)
--------environment.rb(128B)
--------cable.yml(194B)
--------credentials.yml.enc(464B)
--------environments()
--------application.rb(662B)
--------locales()
--------boot.rb(207B)
--------initializers()
--------routes.rb(62B)
--------storage.yml(1KB)
--------puma.rb(1KB)
----LICENSE.md(1KB)
----spec()
--------views()
--------rails_helper.rb(3KB)
--------routing()
--------spec_helper.rb(5KB)
--------controllers()
----storage()
--------.keep(0B)
----config.ru(130B)
----lib()
--------tasks()
--------assets()
----Rakefile(227B)

网友评论