libcredid-client-cr

Credid client API implementation in crystal

credid-api

The client API of credid-server

Installation

Add this to your application's shard.yml:

dependencies:
  auth-api:
    github: Credid/credid-api

Usage

require "credid-api"
api = Credid::Api.new(ip: "127.0.0.1", port: 8999_u16, username: "root", passowrd: "toor")
puts api.auth!
puts api.has_access_to? "/tmp", "write" if api.success?
api.close

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/Credid/auth-api/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Nephos Arthur Poulet - creator, maintainer
Repository

libcredid-client-cr

Owner
Statistic
  • 1
  • 1
  • 0
  • 0
  • 0
  • about 7 years ago
  • July 26, 2017
License

GNU General Public License v3.0

Links
Synced at

Fri, 22 Nov 2024 04:40:25 GMT

Languages