Module: ShotgridApiRuby::Types

Defined in:
lib/shotgrid_api_ruby/types/auth_type.rb

Constant Summary collapse

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