fusionauth_client 1.41.0 → 1.42.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: 1b267a3d6f8f3a00b68ac5727b783b756fef5fecffbe961fef3c3598255186a0
4
- data.tar.gz: 69de43665a4b212dc29ec957203b6cc9ac38cb143f21b60ac68cd0b93d6336fc
3
+ metadata.gz: 4d7a14c355dc44a349a38f749dc8ffe085129d6d1bccfa5799be45968cc00f45
4
+ data.tar.gz: 29fb4471d770b6b396424000c285b875e1204704cd09056bccb1ebed0b60e9f9
5
5
  SHA512:
6
- metadata.gz: e47bfe9d82626e71a2a48e87d5c7add7e79244b780e404954629644f465c95afa9fe05356707393ff06f17120164cb96a6311c59bda27634f2d107eb1c5dce2a
7
- data.tar.gz: '092c4e6154b7704114a28c76ab03873282333067e79fb322db51f90f92d2cfc8f8c3c174c0cabdfd31c23f288c6d64e06e810dd405db03109ca274009701b9ca'
6
+ metadata.gz: 064ce98e40306be0049f7c715533d52d8e9b4c8c1bfe2502093cbde9e8d797c08bef2471e75ca84ab167facc6e3f2ced85ee54d3c69ae5340adcda62f89c0e39
7
+ data.tar.gz: 07f3b6aaf676a468eeea4d9c758fa547a54d49e8062128209c432e1dfb99b30e61735cba55340df4afd5b8e65f9210558ec60d152b7f792f24a375c75dfff64e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fusionauth_client (1.41.0)
4
+ fusionauth_client (1.42.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/build.savant CHANGED
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  pubVersion = ""
18
- project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.41.0", licenses: ["ApacheV2_0"]) {
18
+ project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.42.0", licenses: ["ApacheV2_0"]) {
19
19
  workflow {
20
20
  fetch {
21
21
  cache()
@@ -19,7 +19,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
19
19
 
20
20
  Gem::Specification.new do |spec|
21
21
  spec.name = 'fusionauth_client'
22
- spec.version = '1.41.0'
22
+ spec.version = '1.42.0'
23
23
  spec.authors = ['Brian Pontarelli', 'Daniel DeGroff']
24
24
  spec.email = %w(brian@fusionauth.io daniel@fusionauth.io)
25
25
 
@@ -1191,11 +1191,11 @@ module FusionAuth
1191
1191
  end
1192
1192
 
1193
1193
  #
1194
- # Disable Two Factor authentication for a user.
1194
+ # Disable two-factor authentication for a user.
1195
1195
  #
1196
- # @param user_id [string] The Id of the User for which you're disabling Two Factor authentication.
1196
+ # @param user_id [string] The Id of the User for which you're disabling two-factor authentication.
1197
1197
  # @param method_id [string] The two-factor method identifier you wish to disable
1198
- # @param code [string] The Two Factor code used verify the the caller knows the Two Factor secret.
1198
+ # @param code [string] The two-factor code used verify the the caller knows the two-factor secret.
1199
1199
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1200
1200
  def disable_two_factor(user_id, method_id, code)
1201
1201
  start.uri('/api/user/two-factor')
@@ -1207,9 +1207,9 @@ module FusionAuth
1207
1207
  end
1208
1208
 
1209
1209
  #
1210
- # Disable Two Factor authentication for a user using a JSON body rather than URL parameters.
1210
+ # Disable two-factor authentication for a user using a JSON body rather than URL parameters.
1211
1211
  #
1212
- # @param user_id [string] The Id of the User for which you're disabling Two Factor authentication.
1212
+ # @param user_id [string] The Id of the User for which you're disabling two-factor authentication.
1213
1213
  # @param request [OpenStruct, Hash] The request information that contains the code and methodId along with any event information.
1214
1214
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1215
1215
  def disable_two_factor_with_request(user_id, request)
@@ -1221,10 +1221,10 @@ module FusionAuth
1221
1221
  end
1222
1222
 
1223
1223
  #
1224
- # Enable Two Factor authentication for a user.
1224
+ # Enable two-factor authentication for a user.
1225
1225
  #
1226
- # @param user_id [string] The Id of the user to enable Two Factor authentication.
1227
- # @param request [OpenStruct, Hash] The two factor enable request information.
1226
+ # @param user_id [string] The Id of the user to enable two-factor authentication.
1227
+ # @param request [OpenStruct, Hash] The two-factor enable request information.
1228
1228
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
1229
1229
  def enable_two_factor(user_id, request)
1230
1230
  start.uri('/api/user/two-factor')
@@ -1239,7 +1239,7 @@ module FusionAuth
1239
1239
  # Makes a request to the Token endpoint to exchange the authorization code returned from the Authorize endpoint for an access token.
1240
1240
  #
1241
1241
  # @param code [string] The authorization code returned on the /oauth2/authorize response.
1242
- # @param client_id [string] The unique client identifier. The client Id is the Id of the FusionAuth Application in which you you are attempting to authenticate.
1242
+ # @param client_id [string] The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate.
1243
1243
  # @param client_secret [string] (Optional) The client secret. This value will be required if client authentication is enabled.
1244
1244
  # @param redirect_uri [string] The URI to redirect to upon a successful request.
1245
1245
  # @return [FusionAuth::ClientResponse] The ClientResponse object.
@@ -1262,7 +1262,7 @@ module FusionAuth
1262
1262
  # Makes a request to the Token endpoint to exchange the authorization code returned from the Authorize endpoint and a code_verifier for an access token.
1263
1263
  #
1264
1264
  # @param code [string] The authorization code returned on the /oauth2/authorize response.
1265
- # @param client_id [string] (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
1265
+ # @param client_id [string] (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
1266
1266
  # @param client_secret [string] (Optional) The client secret. This value may optionally be provided in the request body instead of the Authorization header.
1267
1267
  # @param redirect_uri [string] The URI to redirect to upon a successful request.
1268
1268
  # @param code_verifier [string] The random string generated previously. Will be compared with the code_challenge sent previously, which allows the OAuth provider to authenticate your app.
@@ -1287,7 +1287,7 @@ module FusionAuth
1287
1287
  # If you will be using the Refresh Token Grant, you will make a request to the Token endpoint to exchange the user’s refresh token for an access token.
1288
1288
  #
1289
1289
  # @param refresh_token [string] The refresh token that you would like to use to exchange for an access token.
1290
- # @param client_id [string] (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
1290
+ # @param client_id [string] (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
1291
1291
  # @param client_secret [string] (Optional) The client secret. This value may optionally be provided in the request body instead of the Authorization header.
1292
1292
  # @param scope [string] (Optional) This parameter is optional and if omitted, the same scope requested during the authorization request will be used. If provided the scopes must match those requested during the initial authorization request.
1293
1293
  # @param user_code [string] (Optional) The end-user verification code. This code is required if using this endpoint to approve the Device Authorization.
@@ -1325,7 +1325,7 @@ module FusionAuth
1325
1325
  #
1326
1326
  # @param username [string] The login identifier of the user. The login identifier can be either the email or the username.
1327
1327
  # @param password [string] The user’s password.
1328
- # @param client_id [string] (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
1328
+ # @param client_id [string] (Optional) The unique client identifier. The client Id is the Id of the FusionAuth Application in which you are attempting to authenticate. This parameter is optional when the Authorization header is provided.
1329
1329
  # @param client_secret [string] (Optional) The client secret. This value may optionally be provided in the request body instead of the Authorization header.
1330
1330
  # @param scope [string] (Optional) This parameter is optional and if omitted, the same scope requested during the authorization request will be used. If provided the scopes must match those requested during the initial authorization request.
1331
1331
  # @param user_code [string] (Optional) The end-user verification code. This code is required if using this endpoint to approve the Device Authorization.
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.41.0
4
+ version: 1.42.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: 2022-11-10 00:00:00.000000000 Z
12
+ date: 2022-12-08 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.