Skip to content

Commit

Permalink
Correct typo in session validity constant name
Browse files Browse the repository at this point in the history
A typographical error was found and corrected in the constant name for session validity. The correct name of the constant should be 'oid4vciSessionValidity'. The correction has been applied on two instances within the codebase.
  • Loading branch information
rolandgroen committed Mar 29, 2024
1 parent d174eac commit 5e324df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth/api/iam/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const httpRequestContextKey = "http-request"
// TODO: Might want to make this configurable at some point
const accessTokenValidity = 15 * time.Minute

const oid4vicSessionValidity = 15 * time.Minute
const oid4vciSessionValidity = 15 * time.Minute

//go:embed assets
var assets embed.FS
Expand Down Expand Up @@ -834,5 +834,5 @@ func createOAuth2BaseURL(webDID did.DID) (*url.URL, error) {
}

func (r Wrapper) oid4vciSssionStore() storage.SessionStore {
return r.storageEngine.GetSessionDatabase().GetStore(oid4vicSessionValidity, "oid4vci")
return r.storageEngine.GetSessionDatabase().GetStore(oid4vciSessionValidity, "oid4vci")
}

0 comments on commit 5e324df

Please sign in to comment.