shilpa20 1.2.2 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e51f4c2b9eedfeb74b5dd4478035004463fa2fbe735208945e76ae97ef0dec70
4
- data.tar.gz: 3fc932e5ee469ca0610f692564af3c805d9388d03c7d0f4728da41dc9e6ff368
3
+ metadata.gz: 45aa39724af07ba0c509ae2bb85280bbdc915c5a456143208fc4f690031fa0d7
4
+ data.tar.gz: ad5c513a3c409acc20fa26340d904baf5f0e4c6ed81eb1414b0251d15e5eaba7
5
5
  SHA512:
6
- metadata.gz: 6d06006dc5651a897b6ffe0bae204c4a3602dc60600d29db77b44fa8039e89c08aa17bd01dc30eba9e60a9d867e987dda84224a21dbe243abd05c16e39cd5785
7
- data.tar.gz: e85ba746f27e326c7df15b0cc426582b80324cb5c141ea5a70818d0cf752598acef93b4464ece458599b6a8893a018d27a4743e4efd1f2d558dbd4c158fb9bbe
6
+ metadata.gz: f9d66d5a7fb8d8c28ae95e066d996b5007a27b297fda8dbcc9186517325baf09d98dc1bcaa04459317c766f05327900901dd41eda63df2d6a82b0277028b177e
7
+ data.tar.gz: e878009bb1f214b016e6ffb242cb5cc500e2ca529f4144903f0078fcb374f8e4a25f4bd71999a9af19598ca27f013497955f97c6a85619613a2bfa85e3a7e520
@@ -20,13 +20,13 @@ class AuthenticationService
20
20
  auth_data = get_auth_with_client_info(auth_data)
21
21
  auth_payload = Authentication.get_payload(auth_data)
22
22
  return RestClient::Request.execute(method: :post, url: @@authentication_url,
23
- payload: auth_payload, headers: {'Content-Type': 'application/json', 'Authorization':'Bearer '+ bearer_token})
23
+ payload: auth_payload, headers: {'Content-Type': 'application/json', 'Authorization': bearer_token})
24
24
  end
25
25
 
26
26
  def self.revoke_authentication_token(auth_data, bearer_token)
27
27
  auth_payload = Authentication.get_payload(auth_data)
28
28
  return RestClient::Request.execute(method: :post, url: @@revoke_url,
29
- payload: auth_payload, headers: {'Content-Type': 'application/json', 'Authorization':'Bearer '+ bearer_token})
29
+ payload: auth_payload, headers: {'Content-Type': 'application/json', 'Authorization': bearer_token})
30
30
  end
31
31
 
32
32
  def self.get_auth_with_client_info(auth_data)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shilpa20
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sachin Murthy