Sha256: 29c8bd4e96172809ee015d5b884325be83763e066f68bdc7ff09cede6d4f7246

Contents?: true

Size: 982 Bytes

Versions: 4

Compression:

Stored size: 982 Bytes

Contents

= Documentation for Logout Feature

The logout feature implements a logout button, which clears the session.
It is the simplest feature.

== Auth Value Methods

logout_additional_form_tags :: HTML fragment containing additional form tags to use on the logout form.
logout_button :: The text to use for the logout button.
logout_notice_flash :: The flash notice to show after logout.
logout_page_title :: The page title to use on the logout form.
logout_redirect :: Where to redirect after a logout.
logout_route :: The route to the logout action. Defaults to +logout+.

== Auth Methods

after_logout :: Run arbitrary code after logout.
before_logout :: Run arbitrary code before logout.
before_logout_route :: Run arbitrary code before handling a logout route.
logout :: Log the user out, by default clearing the session.
logout_response :: Return a response after a successful logout. By default, redirects to +logout_redirect+.
logout_view :: The HTML to use for the logout form.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rodauth-2.36.0 doc/logout.rdoc
rodauth-2.34.0 doc/logout.rdoc
rodauth-2.33.0 doc/logout.rdoc
rodauth-2.32.0 doc/logout.rdoc