Sha256: b7433dc19192f20411602b1d1e9e1382ec997e237e03094d34ffa01e1b97d6a2

Contents?: true

Size: 761 Bytes

Versions: 4

Compression:

Stored size: 761 Bytes

Contents

# typed: strict

module ShotgridApiRuby
  module Types
    AuthType =
      T.type_alias do
        T.any(
          { client_id: String, client_secret: String },
          { 'client_id' => String, :client_secret => String },
          { :client_id => String, 'client_secret' => String },
          { 'client_id' => String, 'client_secret' => String },
          { username: String, password: String },
          { 'username' => String, :password => String },
          { :username => String, 'password' => String },
          { 'username' => String, 'password' => String },
          { refresh_token: String },
          { 'refresh_token' => String },
          { session_token: String },
          { 'session_token' => String },
        )
      end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shotgrid_api_ruby-0.2.0.6 lib/shotgrid_api_ruby/types/auth_type.rb
shotgrid_api_ruby-0.2.0.5 lib/shotgrid_api_ruby/types/auth_type.rb
shotgrid_api_ruby-0.2.0.4 lib/shotgrid_api_ruby/types/auth_type.rb
shotgrid_api_ruby-0.2.0.1 lib/shotgrid_api_ruby/types/auth_type.rb