Interface PublicKeyCredentialRequestOptionsRepository
- All Known Implementing Classes:
HttpSessionPublicKeyCredentialRequestOptionsRepository
public interface PublicKeyCredentialRequestOptionsRepository
Saves
PublicKeyCredentialRequestOptions
between a request to generate an
assertion and the validation of the assertion.- Since:
- 6.4
-
Method Summary
Modifier and TypeMethodDescriptionload
(jakarta.servlet.http.HttpServletRequest request) Gets a savedPublicKeyCredentialRequestOptions
if it exists, otherwise null.void
save
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PublicKeyCredentialRequestOptions options) Saves the providedPublicKeyCredentialRequestOptions
or clears an existingPublicKeyCredentialRequestOptions
ifoptions
is null.
-
Method Details
-
save
void save(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PublicKeyCredentialRequestOptions options) Saves the providedPublicKeyCredentialRequestOptions
or clears an existingPublicKeyCredentialRequestOptions
ifoptions
is null.- Parameters:
request
- theHttpServletRequest
response
- theHttpServletResponse
options
- thePublicKeyCredentialRequestOptions
to save or null if an existingPublicKeyCredentialRequestOptions
should be removed.
-
load
Gets a savedPublicKeyCredentialRequestOptions
if it exists, otherwise null.- Parameters:
request
- theHttpServletRequest
- Returns:
- the
PublicKeyCredentialRequestOptions
that was saved, otherwise null.
-