Skip to content

call ocRefresh if token is expired#132

Merged
amrarick26 merged 2 commits intoordercloud-api:developmentfrom
crhistianramirez:check_token_new
Jun 12, 2017
Merged

call ocRefresh if token is expired#132
amrarick26 merged 2 commits intoordercloud-api:developmentfrom
crhistianramirez:check_token_new

Conversation

@crhistianramirez
Copy link
Contributor

  • on every state change checks that token exists and has not expired, if it has will call ocRefresh
  • add config for optimizing angular when on production. This will skip evaluating css directives and comment directives (which we don't use) and remove ng-scope classes

Crhistian Ramirez added 2 commits June 9, 2017 16:22
this check is done on every state change.
consider adding it to SDK

F51-540
refactor: update to longhand description

that way its consistent with heroku's
default value (production)
@amrarick26 amrarick26 merged commit d8bfeaa into ordercloud-api:development Jun 12, 2017
@crhistianramirez crhistianramirez deleted the check_token_new branch October 7, 2017 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants