pulumi/pkg/backend/httpstate
Pat Gavlin 460ff875ab
Cache account information. (#3340)
- Cache the username and last verified time associated with each logged-in
  backend
- In the HTTP backend, verify the access token explicitly at most once
  per hour

This trades off a little bit of usability for improved inner-loop
latency: if a user's API token becomes invalid less than an hour after
it was last verified, the user will see 4xx errors when attempting stack
operations rather than seeing the login prompt.
2019-10-15 15:37:57 -07:00
..
client Support renaming stack projects (#3292) 2019-10-03 09:13:13 -07:00
backend.go Cache account information. (#3340) 2019-10-15 15:37:57 -07:00
console.go Rename backend packages 2018-09-05 07:32:42 -07:00
console_test.go Rename backend packages 2018-09-05 07:32:42 -07:00
policypack.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
snapshot.go Fix an issue updating a newly created stack from the local backend 2019-05-10 17:07:52 -07:00
stack.go Stop ignoring HTTP errors at token validation (#3208) 2019-09-10 13:24:30 -07:00
state.go Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00