Sha256: 230914d272e4b2dca24a50917ced14fb4bc69f9cbd870f3e2cb2f5f05096a8b9

Contents?: true

Size: 718 Bytes

Versions: 2

Compression:

Stored size: 718 Bytes

Contents

# Introduction

AuthRails provides a simple authentication API for Ruby on Rails application.

## Features

### API Controller to Sign In User

AuthRails provides a default controller to do sign in for your user using JWT.

This controller will generate `access_token` to verify user for their next access and `refresh_token` to re-generate `access_token` when it is expired.

### Allowed Token Strategy

Allowed Token Strategy will store the `refresh_token` to the database. Only those valid tokens can be used to re-generate `access_token`.

Whenever the `refresh_token` is used, it will be deleted and new `refresh_token` is stored in the database.

## Alternative

- [devise](https://github.com/heartcombo/devise)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth_rails-1.1.2 docs/src/introduction/what-is-it.md
auth_rails-1.1.1 docs/src/introduction/what-is-it.md