synapsestudios / synapse-common

DEPRECATED
MIT License
1 stars 2 forks source link

Auth Gateway: Extract localStorage key to separate property #32

Closed paulstatezny closed 9 years ago

paulstatezny commented 9 years ago

Auth Gateway: Extract localStorage key to separate property so that it can be modified by children easily.

Acceptance Criteria

  1. The key of the localStorage property where the auth request token is stored is a separate property.
  2. The prefix for the Authorization header is a separate property.

    Tasks

    • Extract those properties.

      Additional Notes

    • This will help Lively not to have to re-implement as much code to make its generic client. (See synapsestudios/lively#111.)
paulstatezny commented 9 years ago

:zero: :arrow_up: :sunny:

paulstatezny commented 9 years ago

:star:

zpchavez commented 9 years ago

Do those literal strings appear anywhere else?

paulstatezny commented 9 years ago

@zpchavez Nope

zpchavez commented 9 years ago

:+1: