Skip to content

Commit

Permalink
Merge pull request #1101 from sul-dlss/document-expires
Browse files Browse the repository at this point in the history
Document the expires value
  • Loading branch information
jmartin-sul authored Dec 21, 2023
2 parents 6d9e700 + 97c9188 commit f1e2bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/iiif/auth/v2/token_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create
"@context" => "http://iiif.io/api/auth/2/context.json",
type: 'AuthAccessToken2',
accessToken: token,
expiresIn: 3600,
expiresIn: 3600, # The number of seconds until the token ceases to be valid. (3600 = 1 hr)
messageId: params[:messageId]
}
else
Expand Down

0 comments on commit f1e2bcc

Please sign in to comment.