GrpcAuth

Short description and motivation.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'grpc_auth'

And then execute:

$ bundle

Or install it yourself as:

$ gem install grpc_auth

Method added

attachit: can be used in controller to add tempfile to mongodb

group[:logo] = attachit("group",:logo)

pageit: can be used in controller for page model

is_login?: can be used in controller or views to test login status

need_login: can be used in controller

ENV Setting

You should set some env variable

ENV["GRPC_AUTH_MOUNT_PATH"] = "/"

ENV["GRPCD_ADDRESS"] = "172.16.144.248:5005"

License

The gem is available as open source under the terms of the MIT License.