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 +4 -4
- data/build.savant +1 -1
- data/fusionauth-ruby-client.iml +28 -0
- data/fusionauth_client.gemspec +1 -1
- data/lib/fusionauth/fusionauth_client.rb +27 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61ebe66291227393968cfd972f5668175aca99e0780bc45f5b69b17b99524a82
|
4
|
+
data.tar.gz: 5579794527c8a3dfa909779b714cfe76c6f95e4561c8a01801d7b91595e45f47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
19
|
+
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.25.0", licenses: ["ApacheV2_0"]) {
|
20
20
|
workflow {
|
21
21
|
standard()
|
22
22
|
}
|
data/fusionauth-ruby-client.iml
CHANGED
@@ -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>
|
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.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]
|
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.
|
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-
|
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.
|