Skip to content

More changes from teamhackback #4

@wilzbach

Description

@wilzbach

Hi there,

I saw your nice OAuth module and as you have seen I liked it so much that I have forked it at https://github.com/teamhackback/oauth

I have done a couple of further changes and due to the split of client.d into multiple files a PR might be long. However if you are interested I am happy to look into cleaning the changes and incorporating them into a PR. I also plan to publish a bigger example app in the next weeks.

Here's an overview of major changes:

Bug fixes

Other changes

  • Split client.d into exception.d, session.d, settings.d (config.d is part of settings.d)
  • Made a lot of stuff @safe for Vibe.d 0.8
  • Add GitHub provider
  • Load config from environment
  • Added minimal logging
  • Added extraParams to webapp.login
  • Changed return type of webapp.login to bool

Removed caching from Webapp convience wrapper

As I want to deploy my application on multiple servers/threads a cache is problematic as the second request might hit another thread / server. Moreover a long-running application also needs some auto-cleanup, which currently isn't implemented. Thus I removed both settingsCache and sessionCache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions