Skip to content

Commit

Permalink
fix: set x-domain cookie lifetime to configured session lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
lfleischmann committed Sep 28, 2023
1 parent c54c970 commit 1f2b61d
Show file tree
Hide file tree
Showing 114 changed files with 966 additions and 187 deletions.
28 changes: 25 additions & 3 deletions docs/static/jsdoc/hanko-frontend-sdk/AccountConfig.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

<nav>

<h2><a href="index.html">Documentation</a></h2><div class="category"><h3>Classes</h3><ul><li><a href="Hanko.html">Hanko</a></li></ul><h3>Interfaces</h3><ul><li><a href="HankoOptions.html">HankoOptions</a></li></ul></div><div class="category"><h2>SDK</h2><h3>Classes / Internal</h3><ul><li><a href="Client.html">Client</a></li><li><a href="Cookie.html">Cookie</a></li><li><a href="Dispatcher.html">Dispatcher</a></li><li><a href="Headers.html">Headers</a></li><li><a href="HttpClient.html">HttpClient</a></li><li><a href="PasscodeState.html">PasscodeState</a></li><li><a href="PasswordState.html">PasswordState</a></li><li><a href="Relay.html">Relay</a></li><li><a href="Response.html">Response</a></li><li><a href="Scheduler.html">Scheduler</a></li><li><a href="SessionState.html">SessionState</a></li><li><a href="State.html">State</a></li><li><a href="Throttle.html">Throttle</a></li><li><a href="UserState.html">UserState</a></li><li><a href="WebauthnState.html">WebauthnState</a></li></ul><h3>Classes / Clients</h3><ul><li><a href="ConfigClient.html">ConfigClient</a></li><li><a href="EmailClient.html">EmailClient</a></li><li><a href="PasscodeClient.html">PasscodeClient</a></li><li><a href="PasswordClient.html">PasswordClient</a></li><li><a href="ThirdPartyClient.html">ThirdPartyClient</a></li><li><a href="TokenClient.html">TokenClient</a></li><li><a href="UserClient.html">UserClient</a></li><li><a href="WebauthnClient.html">WebauthnClient</a></li></ul><h3>Classes / Errors</h3><ul><li><a href="ConflictError.html">ConflictError</a></li><li><a href="EmailAddressAlreadyExistsError.html">EmailAddressAlreadyExistsError</a></li><li><a href="HankoError.html">HankoError</a></li><li><a href="InvalidPasscodeError.html">InvalidPasscodeError</a></li><li><a href="InvalidPasswordError.html">InvalidPasswordError</a></li><li><a href="InvalidWebauthnCredentialError.html">InvalidWebauthnCredentialError</a></li><li><a href="MaxNumOfEmailAddressesReachedError.html">MaxNumOfEmailAddressesReachedError</a></li><li><a href="MaxNumOfPasscodeAttemptsReachedError.html">MaxNumOfPasscodeAttemptsReachedError</a></li><li><a href="NotFoundError.html">NotFoundError</a></li><li><a href="PasscodeExpiredError.html">PasscodeExpiredError</a></li><li><a href="RequestTimeoutError.html">RequestTimeoutError</a></li><li><a href="TechnicalError.html">TechnicalError</a></li><li><a href="ThirdPartyError.html">ThirdPartyError</a></li><li><a href="TooManyRequestsError.html">TooManyRequestsError</a></li><li><a href="UnauthorizedError.html">UnauthorizedError</a></li><li><a href="UserVerificationError.html">UserVerificationError</a></li><li><a href="WebauthnRequestCancelledError.html">WebauthnRequestCancelledError</a></li></ul><h3>Classes / Events</h3><ul><li><a href="Listener.html">Listener</a></li></ul><h3>Classes / Session</h3><ul><li><a href="Session.html">Session</a></li></ul><h3>Classes / Utilities</h3><ul><li><a href="WebauthnSupport.html">WebauthnSupport</a></li></ul><h3>Interfaces / DTO</h3><ul><li><a href="AccountConfig.html">AccountConfig</a></li><li><a href="Config.html">Config</a></li><li><a href="Credential.html">Credential</a></li><li><a href="Email.html">Email</a></li><li><a href="EmailConfig.html">EmailConfig</a></li><li><a href="Emails.html">Emails</a></li><li><a href="Identity.html">Identity</a></li><li><a href="Passcode.html">Passcode</a></li><li><a href="PasswordConfig.html">PasswordConfig</a></li><li><a href="TokenFinalized.html">TokenFinalized</a></li><li><a href="User.html">User</a></li><li><a href="UserCreated.html">UserCreated</a></li><li><a href="UserInfo.html">UserInfo</a></li><li><a href="WebauthnCredential.html">WebauthnCredential</a></li><li><a href="WebauthnCredentials.html">WebauthnCredentials</a></li><li><a href="WebauthnFinalized.html">WebauthnFinalized</a></li><li><a href="WebauthnTransports.html">WebauthnTransports</a></li></ul><h3>Interfaces / Events</h3><ul><li><a href="AuthFlowCompletedDetail.html">AuthFlowCompletedDetail</a></li><li><a href="SessionDetail.html">SessionDetail</a></li></ul><h3>Interfaces / Internal</h3><ul><li><a href="CookieOptions.html">CookieOptions</a></li><li><a href="DispatcherOptions.html">DispatcherOptions</a></li><li><a href="HttpClientOptions.html">HttpClientOptions</a></li><li><a href="LocalStorage.html">LocalStorage</a></li><li><a href="LocalStoragePasscode.html">LocalStoragePasscode</a></li><li><a href="LocalStoragePassword.html">LocalStoragePassword</a></li><li><a href="LocalStorageSession.html">LocalStorageSession</a></li><li><a href="LocalStorageUser.html">LocalStorageUser</a></li><li><a href="LocalStorageUsers.html">LocalStorageUsers</a></li><li><a href="LocalStorageWebauthn.html">LocalStorageWebauthn</a></li><li><a href="RelayOptions.html">RelayOptions</a></li><li><a href="SessionOptions.html">SessionOptions</a></li><li><a href="SessionStateOptions.html">SessionStateOptions</a></li><li><a href="ThrottleOptions.html">ThrottleOptions</a></li></ul></div>
<h2><a href="index.html">Documentation</a></h2><div class="category"><h3>Classes</h3><ul><li><a href="Hanko.html">Hanko</a></li></ul><h3>Interfaces</h3><ul><li><a href="HankoOptions.html">HankoOptions</a></li></ul></div><div class="category"><h2>SDK</h2><h3>Classes / Internal</h3><ul><li><a href="Client.html">Client</a></li><li><a href="Cookie.html">Cookie</a></li><li><a href="Dispatcher.html">Dispatcher</a></li><li><a href="Headers.html">Headers</a></li><li><a href="HttpClient.html">HttpClient</a></li><li><a href="PasscodeState.html">PasscodeState</a></li><li><a href="PasswordState.html">PasswordState</a></li><li><a href="Relay.html">Relay</a></li><li><a href="Response.html">Response</a></li><li><a href="Scheduler.html">Scheduler</a></li><li><a href="SessionState.html">SessionState</a></li><li><a href="State.html">State</a></li><li><a href="Throttle.html">Throttle</a></li><li><a href="UserState.html">UserState</a></li><li><a href="WebauthnState.html">WebauthnState</a></li></ul><h3>Classes / Clients</h3><ul><li><a href="ConfigClient.html">ConfigClient</a></li><li><a href="EmailClient.html">EmailClient</a></li><li><a href="PasscodeClient.html">PasscodeClient</a></li><li><a href="PasswordClient.html">PasswordClient</a></li><li><a href="ThirdPartyClient.html">ThirdPartyClient</a></li><li><a href="TokenClient.html">TokenClient</a></li><li><a href="UserClient.html">UserClient</a></li><li><a href="WebauthnClient.html">WebauthnClient</a></li></ul><h3>Classes / Errors</h3><ul><li><a href="ConflictError.html">ConflictError</a></li><li><a href="EmailAddressAlreadyExistsError.html">EmailAddressAlreadyExistsError</a></li><li><a href="ForbiddenError.html">ForbiddenError</a></li><li><a href="HankoError.html">HankoError</a></li><li><a href="InvalidPasscodeError.html">InvalidPasscodeError</a></li><li><a href="InvalidPasswordError.html">InvalidPasswordError</a></li><li><a href="InvalidWebauthnCredentialError.html">InvalidWebauthnCredentialError</a></li><li><a href="MaxNumOfEmailAddressesReachedError.html">MaxNumOfEmailAddressesReachedError</a></li><li><a href="MaxNumOfPasscodeAttemptsReachedError.html">MaxNumOfPasscodeAttemptsReachedError</a></li><li><a href="NotFoundError.html">NotFoundError</a></li><li><a href="PasscodeExpiredError.html">PasscodeExpiredError</a></li><li><a href="RequestTimeoutError.html">RequestTimeoutError</a></li><li><a href="TechnicalError.html">TechnicalError</a></li><li><a href="ThirdPartyError.html">ThirdPartyError</a></li><li><a href="TooManyRequestsError.html">TooManyRequestsError</a></li><li><a href="UnauthorizedError.html">UnauthorizedError</a></li><li><a href="UserVerificationError.html">UserVerificationError</a></li><li><a href="WebauthnRequestCancelledError.html">WebauthnRequestCancelledError</a></li></ul><h3>Classes / Events</h3><ul><li><a href="Listener.html">Listener</a></li></ul><h3>Classes / Session</h3><ul><li><a href="Session.html">Session</a></li></ul><h3>Classes / Utilities</h3><ul><li><a href="WebauthnSupport.html">WebauthnSupport</a></li></ul><h3>Interfaces / DTO</h3><ul><li><a href="AccountConfig.html">AccountConfig</a></li><li><a href="Config.html">Config</a></li><li><a href="Credential.html">Credential</a></li><li><a href="Email.html">Email</a></li><li><a href="EmailConfig.html">EmailConfig</a></li><li><a href="Emails.html">Emails</a></li><li><a href="Identity.html">Identity</a></li><li><a href="Passcode.html">Passcode</a></li><li><a href="PasswordConfig.html">PasswordConfig</a></li><li><a href="TokenFinalized.html">TokenFinalized</a></li><li><a href="User.html">User</a></li><li><a href="UserCreated.html">UserCreated</a></li><li><a href="UserInfo.html">UserInfo</a></li><li><a href="WebauthnCredential.html">WebauthnCredential</a></li><li><a href="WebauthnCredentials.html">WebauthnCredentials</a></li><li><a href="WebauthnFinalized.html">WebauthnFinalized</a></li><li><a href="WebauthnTransports.html">WebauthnTransports</a></li></ul><h3>Interfaces / Events</h3><ul><li><a href="AuthFlowCompletedDetail.html">AuthFlowCompletedDetail</a></li><li><a href="SessionDetail.html">SessionDetail</a></li></ul><h3>Interfaces / Internal</h3><ul><li><a href="CookieOptions.html">CookieOptions</a></li><li><a href="DispatcherOptions.html">DispatcherOptions</a></li><li><a href="HttpClientOptions.html">HttpClientOptions</a></li><li><a href="LocalStorage.html">LocalStorage</a></li><li><a href="LocalStoragePasscode.html">LocalStoragePasscode</a></li><li><a href="LocalStoragePassword.html">LocalStoragePassword</a></li><li><a href="LocalStorageSession.html">LocalStorageSession</a></li><li><a href="LocalStorageUser.html">LocalStorageUser</a></li><li><a href="LocalStorageUsers.html">LocalStorageUsers</a></li><li><a href="LocalStorageWebauthn.html">LocalStorageWebauthn</a></li><li><a href="RelayOptions.html">RelayOptions</a></li><li><a href="SessionOptions.html">SessionOptions</a></li><li><a href="SessionStateOptions.html">SessionStateOptions</a></li><li><a href="SetAuthCookieOptions.html">SetAuthCookieOptions</a></li><li><a href="ThrottleOptions.html">ThrottleOptions</a></li></ul></div>

</nav>
</div>
Expand Down Expand Up @@ -125,7 +125,6 @@ <h5 class="subsection-title">Properties:</h5>
<tr class="deep-level-0">

<td class="name"><code>allow_deletion</code></td>
<td class="name"><code>allow_signup</code></td>


<td class="type">
Expand All @@ -145,6 +144,29 @@ <h5 class="subsection-title">Properties:</h5>
</tr>



<tr class="deep-level-0">

<td class="name"><code>allow_signup</code></td>


<td class="type">


<code class="param-type">boolean</code>



</td>





<td class="description last">Indicates the current user is allowed to sign up.</td>
</tr>


</tbody>
</table>
</div>
Expand Down Expand Up @@ -245,4 +267,4 @@ <h5 class="subsection-title">Properties:</h5>


</body>
</html>
</html>
Loading

0 comments on commit 1f2b61d

Please sign in to comment.