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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 82a1ed76eda085a6e16b8f632c47166cafcf536620b865a7396ff816d535ed0a
4
- data.tar.gz: aaf75ce45f006c43003a80f6f2673f15fcab02078ade5b7fdd752b69a0803cca
2
+ SHA1:
3
+ metadata.gz: cff83e20a8b2b9b689f98a3756aa3bf89d852c3b
4
+ data.tar.gz: 0098bebf0a2c742abd67780e696adfdd76341a1a
5
5
  SHA512:
6
- metadata.gz: b04e6ad0c58341cee49afe90c48fbc0a5823762cd7aa09a83a4fdd5a2d6af14a3d9ebf2baadfc851f42f2ba391791c2e4136a7e0a3d2a740c94588e5df6ab0f4
7
- data.tar.gz: 2964f354345a8e8bfe22b6a4fb3afe1b50d2143bcda29b5ef4faf20ae907a7c65f8845e9076badf2fe296e8c0c9850c1d7cb2b4abc54a0dfbe6381f2a4a25e7b
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.10.0", licenses: ["ApacheV2_0"]) {
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: "gem-publish", description: "Publish the GEM file", dependsOn: ["clean", "compile"]) {
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
  /**
@@ -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.10.0'
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.10.0
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-03 00:00:00.000000000 Z
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
- rubygems_version: 3.0.2
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