Class: Stormpath::Rails::ApiKey

Inherits:
Object
  • Object
show all
Defined in:
lib/stormpath/rails/api_key.rb

Constant Summary collapse

TEST_ENV_VARS =
{
  required: {
    STORMPATH_CLIENT_APIKEY_ID: 'The id from your Stormpath API Key',
    STORMPATH_CLIENT_APIKEY_SECRET: 'The secret from your Stormpath API Key',
    STORMPATH_APPLICATION_HREF: 'The href to your application'
  },
  deprecated: {
    STORMPATH_API_KEY_ID: 'The id from your Stormpath API Key',
    STORMPATH_API_KEY_SECRET: 'The secret from your Stormpath API Key',
    STORMPATH_APPLICATION_URL: 'The url to your application'
  }
}.freeze

Instance Method Summary collapse

Instance Method Details

#credentialsObject



17
18
19
20
# File 'lib/stormpath/rails/api_key.rb', line 17

def credentials
  check_env_variable_names
  credentials_from_env_variables
end