You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 1 of this package stored the credentials in the cache, while this worked for most, some users clear their cache
131
-
on deployment of a new version of their app, this also restricted an app to only one set of credentials per codebase.
130
+
Credentials are stored in a JSON file using the default disk on the Laravel Filesystem, with visibility set to private. This allows credential sharing across multiple servers using a shared disk such as S3, regardless of which server conducted the OAuth flow.
132
131
133
-
Version 2 swaps this out for an interface and provides a default `FileStore` implementation which stores the credentials on
134
-
`/storage/framework/xero.json` you can switch out the credential store (e.g. for your own `UserStore` if you wanted to store
135
-
the credentials against your user) in one of two ways
132
+
To use a different disk, change the `xero.credential_disk` config item to another disk defined in `config/filesystem.php`.
133
+
134
+
You can switch out the credential store (e.g. for your own `UserStore` if you wanted to store
135
+
the credentials against your user) in one of two ways:
136
136
137
137
1. If it's a simple store and Laravel can automatically resolve your bindings, simply change the `xero.credential_store` config
0 commit comments