passwordless 1.0.0.beta1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -28
- data/lib/passwordless/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24d02d4dc7676adee968e3f922097f744ee41c2a1826d7622ffac01f3aaf76b8
|
|
4
|
+
data.tar.gz: 03624c6400113e2071eb038cd9406102870b3a56e1f8fa790bb9c190f17b95d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34e67e3b5a2be5cc657ee7193fa0ea76fc27ae7aad32413c66c4534bd2ce91540d7fe3ccdb2a2816a9d46053fd06d2f9c840d69e14cb7e5c49a45b3933be418e
|
|
7
|
+
data.tar.gz: ed550ba88a988109ad8192120fa25225c2c2fc161caff9beb9f51f5bd54baf72325c5baf02fb42da72a2a23ccb923687959aea517c2ce00879f580f82ab24559
|
data/README.md
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
**NOTE:** Passwordless is currently going through some breaking changes. Be aware that the docs in `master` aren't necessarily the same as for you installed version.
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
<p align='center'>
|
|
6
2
|
<img src='https://s3.brnbw.com/Passwordless-title-gaIVkX0sPg.svg' alt='Passwordless' />
|
|
7
3
|
<br />
|
|
@@ -14,30 +10,6 @@ Add authentication to your Rails app without all the icky-ness of passwords.
|
|
|
14
10
|
|
|
15
11
|
---
|
|
16
12
|
|
|
17
|
-
## Table of Contents
|
|
18
|
-
|
|
19
|
-
<!--toc:start-->
|
|
20
|
-
|
|
21
|
-
- [Table of Contents](#table-of-contents)
|
|
22
|
-
- [Installation](#installation)
|
|
23
|
-
- [Usage](#usage)
|
|
24
|
-
- [Getting the current user, restricting access, the usual](#getting-the-current-user-restricting-access-the-usual)
|
|
25
|
-
- [Providing your own templates](#providing-your-own-templates)
|
|
26
|
-
- [Registering new users](#registering-new-users)
|
|
27
|
-
- [URLs and links](#urls-and-links)
|
|
28
|
-
- [Configuration](#configuration)
|
|
29
|
-
- [Delivery method](#delivery-method)
|
|
30
|
-
- [Token generation](#token-generation)
|
|
31
|
-
- [Timeout and Expiry](#timeout-and-expiry)
|
|
32
|
-
- [Redirection after sign-in](#redirection-after-sign-in)
|
|
33
|
-
- [Looking up the user](#looking-up-the-user)
|
|
34
|
-
- [Claiming tokens](#claiming-tokens)
|
|
35
|
-
- [Test helpers](#test-helpers)
|
|
36
|
-
- [Security considerations](#security-considerations)
|
|
37
|
-
- [Alternatives](#alternatives)
|
|
38
|
-
- [License](#license)
|
|
39
|
-
<!--toc:end-->
|
|
40
|
-
|
|
41
13
|
## Installation
|
|
42
14
|
|
|
43
15
|
Add to your bundle and copy over the migrations:
|
|
@@ -47,6 +19,10 @@ $ bundle add passwordless
|
|
|
47
19
|
$ bin/rails passwordless:install:migrations
|
|
48
20
|
```
|
|
49
21
|
|
|
22
|
+
### Upgrading
|
|
23
|
+
|
|
24
|
+
See [Upgrading to Passwordless 1.0](docs/upgrading_to_1_0.md) for more details.
|
|
25
|
+
|
|
50
26
|
## Usage
|
|
51
27
|
|
|
52
28
|
Passwordless creates a single model called `Passwordless::Session`. It doesn't come with its own `User` model, it expects you to create one:
|
data/lib/passwordless/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: passwordless
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mikkel Malmberg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -86,11 +86,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
86
86
|
version: '0'
|
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
requirements:
|
|
89
|
-
- - "
|
|
89
|
+
- - ">="
|
|
90
90
|
- !ruby/object:Gem::Version
|
|
91
|
-
version:
|
|
91
|
+
version: '0'
|
|
92
92
|
requirements: []
|
|
93
|
-
rubygems_version: 3.4.
|
|
93
|
+
rubygems_version: 3.4.20
|
|
94
94
|
signing_key:
|
|
95
95
|
specification_version: 4
|
|
96
96
|
summary: Add authentication to your app without all the ickyness of passwords.
|