0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Monban - The authentication plugin for web api based on jwt
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 5.0
~> 10.0
~> 0.16

Runtime

 Project Readme

monban-core

rubygems: monban-core

Monban - core

The authentication plugin for web api based on jwt

Table of Contents
  • Requirements
  • Usage
  • License

Requirements

  • developed on ruby: 2.5.1

Usage

Errors

error class should be respond to below methods

module Monban
  module Core
    ERRORS = [
      :invalid_account!,
      :invalid_login!,
      :invalid_params!,
      :not_found!,
      :renew_token_expired!,
      :conflict!,
      :server_error!,
    ]
  end
end

Install

Add this line to your application's Gemfile:

gem 'monban-core'

And then execute:

$ bundle

Or install it yourself as:

$ gem install monban-core

License

monban/core is licensed under the MIT license.

Copyright © since 2018 shun@getto.systems