fusionauth_client 1.10.0 → 1.11.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 +5 -5
- data/build.savant +2 -6
- data/fusionauth_client.gemspec +1 -1
- data/lib/fusionauth/fusionauth_client.rb +14 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: cff83e20a8b2b9b689f98a3756aa3bf89d852c3b
|
|
4
|
+
data.tar.gz: 0098bebf0a2c742abd67780e696adfdd76341a1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66977b2e69c887007b16831e2e3076484a0204382398c660172bb4856c57ab74229c1e374cb2b56565e7475152b0cf0fb34bbc37e7219ab8b8426e86ac73d51e
|
|
7
|
+
data.tar.gz: dfe91d6de21421e9e7fa8c4d011c74b3271fdf98bfc4c967dea1296377b3f11dd370533dad28f35849230df1dff0e7e6a02100d47f3bbf965a34329abfb5ad46
|
data/build.savant
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
savantVersion = "1.0.0"
|
|
17
17
|
|
|
18
18
|
pubVersion = ""
|
|
19
|
-
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.
|
|
19
|
+
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.11.0", licenses: ["ApacheV2_0"]) {
|
|
20
20
|
workflow {
|
|
21
21
|
standard()
|
|
22
22
|
}
|
|
@@ -68,7 +68,7 @@ target(name: "idea", description: "Updates the IntelliJ IDEA module file") {
|
|
|
68
68
|
target(name: "bundle", description: "Builds the project release bundle", dependsOn: ["int"]) {
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
target(name: "
|
|
71
|
+
target(name: "publish", description: "Publish the GEM file", dependsOn: ["clean", "compile"]) {
|
|
72
72
|
ProcessBuilder pb = new ProcessBuilder('gem', 'push', "pkg/fusionauth_client-${pubVersion}.gem").inheritIO()
|
|
73
73
|
clearEnvironment(pb)
|
|
74
74
|
if (pb.start().waitFor() != 0) {
|
|
@@ -78,10 +78,6 @@ target(name: "gem-publish", description: "Publish the GEM file", dependsOn: ["cl
|
|
|
78
78
|
|
|
79
79
|
target(name: "release", description: "Releases a full version of the project", dependsOn: ["clean", "int"]) {
|
|
80
80
|
release.release()
|
|
81
|
-
|
|
82
|
-
// if (new ProcessBuilder('gem', 'push', "pkg/fusionauth_client-${pubVersion}.gem").inheritIO().start().waitFor() != 0) {
|
|
83
|
-
// fail("Tests failed")
|
|
84
|
-
// }
|
|
85
81
|
}
|
|
86
82
|
|
|
87
83
|
/**
|
data/fusionauth_client.gemspec
CHANGED
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'fusionauth_client'
|
|
7
|
-
spec.version = '1.
|
|
7
|
+
spec.version = '1.11.0'
|
|
8
8
|
spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
|
|
9
9
|
spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
|
|
10
10
|
|
|
@@ -2160,6 +2160,20 @@ module FusionAuth
|
|
|
2160
2160
|
.go()
|
|
2161
2161
|
end
|
|
2162
2162
|
|
|
2163
|
+
#
|
|
2164
|
+
# Start a passwordless login request by generating a passwordless code. This code can be sent to the User using the Send
|
|
2165
|
+
# Passwordless Code API or using a mechanism outside of FusionAuth. The passwordless login is completed by using the Passwordless Login API with this code.
|
|
2166
|
+
#
|
|
2167
|
+
# @param request [OpenStruct, Hash] The passwordless start request that contains all of the information used to begin the passwordless login request.
|
|
2168
|
+
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
2169
|
+
#
|
|
2170
|
+
def start_passwordless_login(request)
|
|
2171
|
+
start.uri('/api/passwordless/start')
|
|
2172
|
+
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
2173
|
+
.post()
|
|
2174
|
+
.go()
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2163
2177
|
#
|
|
2164
2178
|
# Complete login using a 2FA challenge
|
|
2165
2179
|
#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fusionauth_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Pontarelli
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-10-
|
|
12
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: This library contains the Ruby client library that helps you connect
|
|
15
15
|
your application to FusionAuth.
|
|
@@ -51,7 +51,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '0'
|
|
53
53
|
requirements: []
|
|
54
|
-
|
|
54
|
+
rubyforge_project:
|
|
55
|
+
rubygems_version: 2.5.1
|
|
55
56
|
signing_key:
|
|
56
57
|
specification_version: 4
|
|
57
58
|
summary: The Ruby client library for FusionAuth
|