Skip to content

Commit

Permalink
increase token validity period to 1 week
Browse files Browse the repository at this point in the history
close #2
  • Loading branch information
RLesur committed Oct 31, 2020
1 parent 2a815e3 commit ec3d139
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# apinsee 0.0.1.9000

* Set the default validity period of tokens to one week (#2).

* Added `DonneesLocales - V0.1` API and `BDM - V1` API.

* Added a `NEWS.md` file to track changes to the package.
2 changes: 1 addition & 1 deletion R/insee_auth.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ insee_auth <- function(new_auth = FALSE,
appname = "DefaultApplication",
key = Sys.getenv("INSEE_APP_KEY"),
secret = Sys.getenv("INSEE_APP_SECRET"),
validity_period = 86400,
validity_period = 604800,
api = c("Sirene - V3", "Nomenclatures - v1", "DonneesLocales - V0.1", "BDM - V1"),
cache = FALSE,
verbose = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion man/insee_auth.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec3d139

Please sign in to comment.