Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

[WIP] Add Macaroon generator & handler, implement Token-based login #429

Closed
wants to merge 3 commits into from

Conversation

APwhitehat
Copy link
Contributor

@APwhitehat APwhitehat commented Mar 16, 2018

  • Adds macaroon generator & handler, uses vendor package github.com/go-macaroon/macaroon
  • Include helper functions to read , validate, etc tokens (Macaroons).
  • login.go is littered, Refactor username parsing function of clientapi:login #432 will help immensely in reducing the same.
  • move LoginResponse & LoginRequest from login.go to auth.authtypes

Signed-off-by: Anant Prakash <anantprakashjsr@gmail.com>
Signed-off-by: Anant Prakash <anantprakashjsr@gmail.com>
@APwhitehat APwhitehat changed the title Add Macaroon generator & handler, implement Token-based login [WIP] Add Macaroon generator & handler, implement Token-based login May 22, 2018
@APwhitehat APwhitehat closed this Jul 9, 2018
@APwhitehat APwhitehat deleted the addMacaroonTokens branch July 9, 2018 08:49
@APwhitehat
Copy link
Contributor Author

Macaroon token library has been merged to gomatrixserverlib.
Token login implementation done here may not used anytime soon.
We are better off not using the macaroon library for login tokens anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant