Method: Google::Auth::ServiceAccountJwtHeaderCredentials#duplicate
- Defined in:
- lib/googleauth/service_account_jwt_header.rb
#duplicate(options = {}) ⇒ Object
Creates a duplicate of these credentials
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/googleauth/service_account_jwt_header.rb', line 89 def duplicate = {} = deep_hash_normalize = { private_key: @private_key, issuer: @issuer, scope: @scope, project_id: project_id, quota_project_id: quota_project_id, universe_domain: universe_domain, logger: logger }.merge() self.class.new end |