Sha256: 99d79cd6c83517ba46f2318dcb498e85900144488969cc9e5033a3b1bc807619

Contents?: true

Size: 1.09 KB

Versions: 19

Compression:

Stored size: 1.09 KB

Contents

# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


require "google/cloud/credentials"

module Google
  module Cloud
    module Storage
      ##
      # @private Represents the OAuth 2.0 signing logic for Storage.
      class Credentials < Google::Cloud::Credentials
        SCOPE = ["https://www.googleapis.com/auth/devstorage.full_control"]
        PATH_ENV_VARS = %w(STORAGE_KEYFILE GOOGLE_CLOUD_KEYFILE GCLOUD_KEYFILE)
        JSON_ENV_VARS = %w(STORAGE_KEYFILE_JSON GOOGLE_CLOUD_KEYFILE_JSON
                           GCLOUD_KEYFILE_JSON)
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
google-cloud-storage-1.7.1 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.7.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.6.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.5.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.4.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.3.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.2.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.1.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.0.1 lib/google/cloud/storage/credentials.rb
google-cloud-storage-1.0.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.25.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.24.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.23.2 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.23.1 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.23.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.21.0 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.20.2 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.20.1 lib/google/cloud/storage/credentials.rb
google-cloud-storage-0.20.0 lib/google/cloud/storage/credentials.rb