keycloak_oauth 2.0.0 → 2.0.1

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
2
  SHA256:
3
- metadata.gz: baa20f03dc097cf9b5f18e60f1cd860e3590fa2eafe097989d39d1b29690dd57
4
- data.tar.gz: 477b1887a6020aa95bd7e680bf1abe508ad90b99cc480606fdd5daec81adf210
3
+ metadata.gz: 1a10acf89945fa3d346229c6b4d079a22ff5ee60b8fa6f6cabecff413026c276
4
+ data.tar.gz: ab61255f16e412efc30be2ccc14186f524831429972704f47446bc6a3be5bc07
5
5
  SHA512:
6
- metadata.gz: a5b936cdf70211176742efcad5d1b799d6c72ecc1047c141e07c55ddb6c1b33985879d018616f30ab6ce7bb9b4e2be970977c4a1bcecb417bcf0ebd9e0787d68
7
- data.tar.gz: 6f99f5fd86bff651312a0477ca719fb227ae1b5a960c9ebf066cb7e3a2d7a150f1d42a69c0df25efc6ccd78fd733ab220982e053e73202dfadf87d9268c8a1e5
6
+ metadata.gz: 99189e844270e09c12f343a58f78b58e88c4e6090fe2fef068bda9c4e2995604b1f922c1431755b20be5b9b402a61b4aa4d370e32dc6706c665d8437be1f5c09
7
+ data.tar.gz: 41e331acd52cfdcd5bd979c05b40f0e9ef70c433cdfbd3ad4b586b2b5738e96b2f0f94fdf10a2093a8eca8482ef20d56462589963f9e7b7158a1da86c025103f
@@ -0,0 +1,3 @@
1
+ module KeycloakOauth
2
+ class AuthorizableError < StandardError; end
3
+ end
@@ -1,9 +1,8 @@
1
+ require 'keycloak_oauth/authorizable_error'
2
+ require 'keycloak_oauth/not_found_error'
1
3
  require 'net/http'
2
4
 
3
5
  module KeycloakOauth
4
- class AuthorizableError < StandardError; end
5
- class NotFoundError < StandardError; end
6
-
7
6
  class AuthorizableService
8
7
  HTTP_SUCCESS_CODES = [Net::HTTPOK, Net::HTTPNoContent, Net::HTTPCreated]
9
8
  CONTENT_TYPE_X_WWW_FORM_URLENCODED = 'application/x-www-form-urlencoded'.freeze
@@ -0,0 +1,3 @@
1
+ module KeycloakOauth
2
+ class NotFoundError < StandardError; end
3
+ end
@@ -1,3 +1,3 @@
1
1
  module KeycloakOauth
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keycloak_oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - simplificator
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-14 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -120,9 +120,11 @@ files:
120
120
  - app/controllers/keycloak_oauth/callbacks_controller.rb
121
121
  - app/services/keycloak_oauth/authentication_service.rb
122
122
  - app/services/keycloak_oauth/authentication_service_base.rb
123
+ - app/services/keycloak_oauth/authorizable_error.rb
123
124
  - app/services/keycloak_oauth/authorizable_service.rb
124
125
  - app/services/keycloak_oauth/get_users_service.rb
125
126
  - app/services/keycloak_oauth/logout_service.rb
127
+ - app/services/keycloak_oauth/not_found_error.rb
126
128
  - app/services/keycloak_oauth/post_authorization_code_service.rb
127
129
  - app/services/keycloak_oauth/post_refresh_token_service.rb
128
130
  - app/services/keycloak_oauth/post_users_service.rb