Module: Merb::Session

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

### Methods

abandon! authenticate! authenticated? authentication user user=

### Public Instance methods

abandon!()

Remove the user from the session and clear all data.

authenticate!(request, params, *rest)

Authenticates the session via the authentication object.

See Merb::Authentication#authenticate for usage

authenticated?()

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

authentication()

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

### Example

       <%= error_messages_for session.authentication %>

user()

Provides access to the currently authenticated user.

user=(the_user)

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

[Validate]