fusionauth_client 1.24.0 → 1.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d68378f0743777cc83d27ffb6bf0cdaf348f4f7630776b818d37995d00e9b883
4
- data.tar.gz: e35f01e8cfb2bba85296c4b12da1118362c5e02d14c2f78707479e7766d6f3e3
3
+ metadata.gz: 61ebe66291227393968cfd972f5668175aca99e0780bc45f5b69b17b99524a82
4
+ data.tar.gz: 5579794527c8a3dfa909779b714cfe76c6f95e4561c8a01801d7b91595e45f47
5
5
  SHA512:
6
- metadata.gz: 6966b6e5029bfb6f8ec8d4cdfacc2076fa03f26a891dd1be19296755d58dd4a86d8b217889c1c664743b354fa193b1768668014fdd2c40fa793f8e99a21491f4
7
- data.tar.gz: 6cf37a3976925582cde557bba703ec767c2ab17fa80ba36fc3c2d8760571c33582aaf84b669c13d7f6f36683bb50ab69df2c4e0e937ec224faf4013403f7f2e5
6
+ metadata.gz: f925ced42b1e203af544a548260e120c944fede38dcaf9d785d5c59ee0ed7f3093044a8662136618e2c44d3e5815ba1be815a11c117d1b5e8b6bd4ef1b88d8a3
7
+ data.tar.gz: a120d54a3319323474804b9514198dd05bf459c5eca9ffbffb57d710dfd7e3cfa98e99e457d7b306d4d27aac8e6131e2c5b24b9d65de4a1eff3c7c8d797fd35c
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.24.0", licenses: ["ApacheV2_0"]) {
19
+ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.25.0", licenses: ["ApacheV2_0"]) {
20
20
  workflow {
21
21
  standard()
22
22
  }
@@ -12,4 +12,32 @@
12
12
  <orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.3, rbenv: 2.5.1) [gem]" level="application" />
13
13
  <orderEntry type="library" scope="PROVIDED" name="rake (v12.3.3, rbenv: 2.5.1) [gem]" level="application" />
14
14
  </component>
15
+ <component name="RakeTasksCache">
16
+ <option name="myRootTask">
17
+ <RakeTaskImpl id="rake">
18
+ <subtasks>
19
+ <RakeTaskImpl description="Build fusionauth_client-1.24.1.gem into the pkg directory" fullCommand="build" id="build" />
20
+ <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
21
+ <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
22
+ <RakeTaskImpl description="Build and install fusionauth_client-1.24.1.gem into system gems" fullCommand="install" id="install" />
23
+ <RakeTaskImpl id="install">
24
+ <subtasks>
25
+ <RakeTaskImpl description="Build and install fusionauth_client-1.24.1.gem into system gems without network access" fullCommand="install:local" id="local" />
26
+ </subtasks>
27
+ </RakeTaskImpl>
28
+ <RakeTaskImpl description="Create tag v1.24.1 and build and push fusionauth_client-1.24.1.gem to https://rubygems.org" fullCommand="release[remote]" id="release[remote]" />
29
+ <RakeTaskImpl description="Run tests" fullCommand="test" id="test" />
30
+ <RakeTaskImpl description="" fullCommand="default" id="default" />
31
+ <RakeTaskImpl description="" fullCommand="release" id="release" />
32
+ <RakeTaskImpl id="release">
33
+ <subtasks>
34
+ <RakeTaskImpl description="" fullCommand="release:guard_clean" id="guard_clean" />
35
+ <RakeTaskImpl description="" fullCommand="release:rubygem_push" id="rubygem_push" />
36
+ <RakeTaskImpl description="" fullCommand="release:source_control_push" id="source_control_push" />
37
+ </subtasks>
38
+ </RakeTaskImpl>
39
+ </subtasks>
40
+ </RakeTaskImpl>
41
+ </option>
42
+ </component>
15
43
  </module>
@@ -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.24.0'
7
+ spec.version = '1.25.0'
8
8
  spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
9
9
  spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
10
10
 
@@ -1844,7 +1844,7 @@ module FusionAuth
1844
1844
  #
1845
1845
  # Retrieves the identity provider for the given id or all of the identity providers if the id is null.
1846
1846
  #
1847
- # @param identity_provider_id [string] (Optional) The identity provider id.
1847
+ # @param identity_provider_id [string] The identity provider Id.
1848
1848
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1849
1849
  def retrieve_identity_provider(identity_provider_id)
1850
1850
  start.uri('/api/identity-provider')
@@ -1853,6 +1853,20 @@ module FusionAuth
1853
1853
  .go()
1854
1854
  end
1855
1855
 
1856
+ #
1857
+ # Retrieves one or more identity provider for the given type. For types such as Google, Facebook, Twitter and LinkedIn, only a single
1858
+ # identity provider can exist. For types such as OpenID Connect and SAMLv2 more than one identity provider can be configured so this request
1859
+ # may return multiple identity providers.
1860
+ #
1861
+ # @param type [OpenStruct, Hash] The type of the identity provider.
1862
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
1863
+ def retrieve_identity_provider_by_type(type)
1864
+ start.uri('/api/identity-provider')
1865
+ .url_parameter('type', type)
1866
+ .get()
1867
+ .go()
1868
+ end
1869
+
1856
1870
  #
1857
1871
  # Retrieves all of the identity providers.
1858
1872
  #
@@ -2119,6 +2133,18 @@ module FusionAuth
2119
2133
  .go()
2120
2134
  end
2121
2135
 
2136
+ #
2137
+ # Retrieves a single refresh token by unique Id. This is not the same thing as the string value of the refresh token, if you have that, you already have what you need..
2138
+ #
2139
+ # @param user_id [string] The Id of the user.
2140
+ # @return [FusionAuth::ClientResponse] The ClientResponse object.
2141
+ def retrieve_refresh_token_by_id(user_id)
2142
+ start.uri('/api/jwt/refresh')
2143
+ .url_segment(user_id)
2144
+ .get()
2145
+ .go()
2146
+ end
2147
+
2122
2148
  #
2123
2149
  # Retrieves the refresh tokens that belong to the user with the given Id.
2124
2150
  #
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.24.0
4
+ version: 1.25.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: 2021-02-11 00:00:00.000000000 Z
12
+ date: 2021-03-11 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.