Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit 1da6097

Browse files
committed
remove print statements
1 parent cf3c0a7 commit 1da6097

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

lib/cipherstash/client/profile.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,7 @@ def identity_provider_config
394394
# @see #with_kms_credentials because it has a more in-depth explanation of what's going on and why.
395395
#
396396
def with_access_token(&blk)
397-
puts "block======="
398-
p blk
399397
@access_token_creds_provider ||= access_token_provider(**symbolize_keys(identity_provider_config))
400-
p identity_provider_config
401-
p @access_token_creds_provider
402398

403399
if blk.nil?
404400
@access_token_creds_provider.fresh_credentials
@@ -542,7 +538,6 @@ def access_token_provider(kind:, **opts)
542538
when "Auth0-AccessToken"
543539
access_token_static_credentials(**opts)
544540
when "Auth0-DeviceCode"
545-
puts "hitting auth0 device code-----------"
546541
access_token_device_code_credentials(**opts)
547542
when "Console-AccessKey"
548543
access_token_console_access_key_credentials(**opts)
@@ -563,12 +558,7 @@ def access_token_static_credentials(accessToken:)
563558
#
564559
# If the token can't be read for any reason, just return a null token, because you're supposed to refresh the token if it's out-of-date anyway.
565560
def cached_token
566-
puts "self -----------"
567-
p self
568-
test = JSON.parse(File.read(file_path("auth-token.json")))
569-
puts "auth token json #########"
570-
p test
571-
test
561+
JSON.parse(File.read(file_path("auth-token.json")))
572562
rescue
573563
{ "accessToken": "", "refreshToken": "", expiry: 0 }
574564
end

0 commit comments

Comments
 (0)