Code Monkey home page Code Monkey logo

gowebauth's People

Contributors

clagraff avatar

Watchers

 avatar  avatar

gowebauth's Issues

IsAuthorized should return an identifier

As part of the Authorizer interface, the IsAuthorized(string) error function should return both an optional error, and the identifier for successful authentication strings.
A la IsAuthorized(token string) (Identity string, Error error)

Poor test coverage on FailureHandler

The Digest.FailureHandler function does not appear to be covered at all, when viewed with the coverage tool. This should be addressed as it is important to know that the function will work as expected.

Do not export Nonce

Now that issue #18 has been merged, which un-exported a bunch of stuff from the packages, we no longer need the Nonce struct to be exported.

Stale OneUseStore nonces never release memory

When using the OneUseStore, nonces can be generated without having any method of forcing their removal. This means an attacker could continue to make unauthenticated requests in order to generate more nonces which will never be removed, thus eating away at the servers resources.

Epic Test

This is a test of creating an epic

Remove backticks from docstrings

Please see the generated godoc docstring for MakeRealm. It can be found here.

Notice that there are backticks viewable in the docs. Remove these, as they should not have been there.

Support additional nonce stores

The following nonce stores would be great to include:

  • Limitable-use nonce (3-use nonce, 2-use nonce, N-use nonce, etc)
  • Time-limited nonce (nonce valid for X seconds)

Typo in readme

Under the nonce section, there is a typo.

$ echo -n "gon:Restricted Page:hunter123" | md5sum<Paste>

shouldnt have the <Paste> at the end.

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.