Code Monkey home page Code Monkey logo

authorizr's Introduction

Ville Vainio

  • ๐Ÿ”ญ Iโ€™m currently working on several things. At work (Basware), this is a big, big .NET + Angular application.
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on stuff that is broken by complaining about it!
  • ๐Ÿ’ฌ Ask me about F#
  • ๐Ÿ“ซ How to reach me: [email protected]
  • ๐Ÿ˜„ Pronouns: those/themselves
  • โšก Fun fact: I'm a very old man

authorizr's People

Contributors

isalento avatar jnynas avatar vivainio avatar

Watchers

 avatar  avatar  avatar

Forkers

jnynas

authorizr's Issues

Prefilled cred templates

Add prefilled cred templates as "examples", e.g. by having a combobox to prefill the fields.

Get template values from "sanction" example

sub: "consumable" usage time instead of expiration

Use case: allow playing a game for 1000 seconds, in arbirtary number of sessions.

Implementation: on calling POST /sub/consume/, add argument that indicates the duration of previous session in seconds. Response returns how many seconds you have left.

Oauth1 support

We should at least support twitter w/ oauth1. Probably should use python-oauth2 library for this

Benchmark oauth2 api

Analyze performance with unpaid heroku account. Consider whether we need 1 or more dynos (and only pay for the database).

Admin screens don't need to be benchmarked

sub: Rename "count" to "credits"

We should use "credits" throughout the service instead of "count" (with T&B, one "try" consumes 1 credit, or 1 credit could be 1 second for time limited game)

Delete old sessions

Need mechanism to delete old auth sessions from the db.

The scenarios are:

1 delete session when it's been fetched
2 delete sessions older than 1-2 days.

  1. needs to be implemented anyway, so let's have that first. django-celery works on heroku, so we may want to use that for this daily "cron" job.

Refresh token

If we receive refresh token along with access token from the server, we should relay this to the user. This means fetch_access_token should return json as well

sub: "archive" for dead sessions

We should probably partition the database to "live" sessions and "expired" sessions.

When "consume" is called:

  • first look at live sessions, use that if available
  • then look at expired sessions, use that if available
  • if neither is available, create new live session

Proposed table name: ExpiredSession

memcached support

add memcached support.

Probably best thing to store would be AppCreds

dim callback_url

callback url should not be configurable, it's "FYI" information. Do not put it in inputbox for cred view

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.