Module Merb::Session
In: lib/merb-auth-core/session_mixin.rb

Methods

Public Instance methods

Remove the user from the session and clear all data.

Authenticates the session via the authentication object.

See Merb::Authentication#authenticate for usage

Check to see if the current session is authenticated @return true if authenticated. false otherwise

Access to the authentication object directly. Particularly useful for accessing the errors.

Example

   <%= error_messages_for session.authentication %>

Provides access to the currently authenticated user.

set the currently authenticated user manually Merb::Authentication#store_user should know how to store the object into the session

[Validate]