Coder Social home page Coder Social logo

authress / authress-sdk.rs Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 181 KB

The Authress SDK for Rust provides authorization as a service with fully compatible REST apis.

Home Page: https://authress.io

License: Apache License 2.0

Rust 100.00%
api authentication authentication-middleware authorization authorization-framework authorization-server credentials keys security user-identity user-management

authress-sdk.rs's People

Contributors

wparad avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

authress-sdk.rs's Issues

Release 0.2 improvements

  • Add authentication to the configuration class.
  • Align configuration class name and property names
  • The service client code to generate a JWT from private key needs to be added
  • Add first class examples to readme.md
  • Add UnauthorizedError type to the authorizeUser function

Generate the necessary scaffolding

curl -XPOST https://generator3.swagger.io/api/generate -H 'content-type: application/json' -d '{"specURL" : "https://api.authress.io/.well-known/openapi.json","lang" : "rust","type" : "CLIENT","codegenVersion" : "V3"}'  --output sdk_files
  • Add authentication to the configuration class.
  • Url encode all url inputs, frequently the generator doesn't do that
  • Remove any unnecessary validations from object and parameter injection, often there are some even when properties are allowed to be null
  • The service client code to generate a JWT from private key needs to be added
  • Top level tags from the API should accessible from the base class: authressClient.accessRecords.getRecords(...)
  • Add first class examples to readme.md
  • Test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.