Repository navigation
Releases: danielinoa/seshlock
Releases · danielinoa/seshlock
Release list
v0.2.0
Added
- Session Listing: user.seshlock_sessions returns all active sessions for a user, ordered by most recent first.
- Revoke All Sessions: user.revoke_all_seshlock_sessions! revokes all active sessions for a user (logout everywhere).
- Revoke Other Sessions: user.revoke_other_seshlock_sessions!(except_refresh_token:) revokes all sessions except the specified one.
- Controller Helpers:
- seshlock_list_sessions - Returns array of session info with id, device, created_at, expires_at, and current flag.
- seshlock_revoke_all - Revokes all sessions for the current user.
- seshlock_revoke_others - Revokes all sessions except the current one.
- seshlock_revoke_session(session_id:) - Revokes a specific session by ID.
v0.1.3
Add user association to AccessToken via has_one :through
v0.1.2
Fixed token table names and association lookup; see CHANGELOG.md
v0.1.1
Changed
- Added CI badge to README
- Added GitHub Actions workflow for tests
- Code style improvements
v0.1.0
Initial release of Seshlock - session tokens (access + refresh) for Rails apps.