Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class OpenId4VcVerifierModuleConfig {
*
* @default 300
*/
public get authorizationRequestExpiresInSeconds() {
public get authorizationRequestExpirationInSeconds() {
return this.options.authorizationRequestExpirationInSeconds ?? 300
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export class OpenId4VpVerifierService {
? {
jwtSigner: jwtIssuer,
requestUri: hostedAuthorizationRequestUri,
expiresInSeconds: this.config.authorizationRequestExpiresInSeconds,
expiresInSeconds: this.config.authorizationRequestExpirationInSeconds,
}
: undefined,
authorizationRequestPayload:
Expand Down Expand Up @@ -319,7 +319,7 @@ export class OpenId4VpVerifierService {
authorizationRequestId,
state: OpenId4VcVerificationSessionState.RequestCreated,
verifierId: options.verifier.verifierId,
expiresAt: utils.addSecondsToDate(new Date(), this.config.authorizationRequestExpiresInSeconds),
expiresAt: utils.addSecondsToDate(new Date(), this.config.authorizationRequestExpirationInSeconds),
openId4VpVersion: version,
})
await this.openId4VcVerificationSessionRepository.save(agentContext, verificationSession)
Expand Down