Module: MAuth::ServerHelper

Defined in:
lib/mauth/server_helper.rb

Instance Method Summary collapse

Instance Method Details

#app_uuid(request) ⇒ Object



5
6
7
# File 'lib/mauth/server_helper.rb', line 5

def app_uuid(request)
  request.env[MAuth::Client::RACK_ENV_APP_UUID_KEY]
end

#app_uuid_from_env(env) ⇒ Object



9
10
11
# File 'lib/mauth/server_helper.rb', line 9

def app_uuid_from_env(env)
  env[MAuth::Client::RACK_ENV_APP_UUID_KEY]
end