fusionauth_client 1.15.2 → 1.15.3
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 +1 -1
- data/fusionauth_client.gemspec +1 -1
- data/lib/fusionauth/fusionauth_client.rb +7 -6
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 43bd0bd89fdd6ec3ce3a4b0dde7473ca5fc115267b8d1812bfa10b580cbc3410
|
|
4
|
+
data.tar.gz: babeb2aef80ce760f675120c6836085ba217717255295d7abf803998c3f2434f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1de52b05abeac8c7490895c452b4aa9192d1c722e4e636ae1e4639cce7e4c69b3d07c3094f38b0f17e286ede486b6d5112ad0c4ca3cef795ee88d2ef403e328
|
|
7
|
+
data.tar.gz: 18051a9e1497294febad008597ef7cd44385800768bd49e0daf43709bc17de25c95026209534d63625b3c95554b07e8f239158d86cae5ed14f2e52cabdf7c3d3
|
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.15.
|
|
19
|
+
project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.15.3", licenses: ["ApacheV2_0"]) {
|
|
20
20
|
workflow {
|
|
21
21
|
standard()
|
|
22
22
|
}
|
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.15.
|
|
7
|
+
spec.version = '1.15.3'
|
|
8
8
|
spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
|
|
9
9
|
spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
|
|
10
10
|
|
|
@@ -43,16 +43,13 @@ module FusionAuth
|
|
|
43
43
|
|
|
44
44
|
#
|
|
45
45
|
# Takes an action on a user. The user being actioned is called the "actionee" and the user taking the action is called the
|
|
46
|
-
# "actioner". Both user ids are required
|
|
47
|
-
# request object.
|
|
46
|
+
# "actioner". Both user ids are required in the request object.
|
|
48
47
|
#
|
|
49
|
-
# @param actionee_user_id [string] The actionee's user id.
|
|
50
48
|
# @param request [OpenStruct, Hash] The action request that includes all of the information about the action being taken including
|
|
51
49
|
# the id of the action, any options and the duration (if applicable).
|
|
52
50
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
53
|
-
def action_user(
|
|
51
|
+
def action_user(request)
|
|
54
52
|
start.uri('/api/user/action')
|
|
55
|
-
.url_segment(actionee_user_id)
|
|
56
53
|
.body_handler(FusionAuth::JSONBodyHandler.new(request))
|
|
57
54
|
.post()
|
|
58
55
|
.go()
|
|
@@ -922,11 +919,15 @@ module FusionAuth
|
|
|
922
919
|
#
|
|
923
920
|
# @param application_id [string] The Application Id for which you are requesting a new access token be issued.
|
|
924
921
|
# @param encoded_jwt [string] The encoded JWT (access token).
|
|
922
|
+
# @param refresh_token [string] (Optional) An existing refresh token used to request a refresh token in addition to a JWT in the response.
|
|
923
|
+
# <p>The target application represented by the applicationid request parameter must have refresh
|
|
924
|
+
# tokens enabled in order to receive a refresh token in the response.</p>
|
|
925
925
|
# @return [FusionAuth::ClientResponse] The ClientResponse object.
|
|
926
|
-
def issue_jwt(application_id, encoded_jwt)
|
|
926
|
+
def issue_jwt(application_id, encoded_jwt, refresh_token)
|
|
927
927
|
start.uri('/api/jwt/issue')
|
|
928
928
|
.authorization('JWT ' + encoded_jwt)
|
|
929
929
|
.url_parameter('applicationId', application_id)
|
|
930
|
+
.url_parameter('refreshToken', refresh_token)
|
|
930
931
|
.get()
|
|
931
932
|
.go()
|
|
932
933
|
end
|
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.15.
|
|
4
|
+
version: 1.15.3
|
|
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: 2020-02-
|
|
12
|
+
date: 2020-02-27 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,8 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '0'
|
|
53
53
|
requirements: []
|
|
54
|
-
|
|
55
|
-
rubygems_version: 2.5.1
|
|
54
|
+
rubygems_version: 3.0.2
|
|
56
55
|
signing_key:
|
|
57
56
|
specification_version: 4
|
|
58
57
|
summary: The Ruby client library for FusionAuth
|