Interface PublicKeyCredentialCreationOptionsRepository
- All Known Implementing Classes:
HttpSessionPublicKeyCredentialCreationOptionsRepository
public interface PublicKeyCredentialCreationOptionsRepository
Saves
PublicKeyCredentialCreationOptions
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 savedPublicKeyCredentialCreationOptions
if it exists, otherwise null.void
save
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PublicKeyCredentialCreationOptions options) Saves the providedPublicKeyCredentialCreationOptions
or clears an existingPublicKeyCredentialCreationOptions
ifoptions
is null.
-
Method Details
-
save
void save(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PublicKeyCredentialCreationOptions options) Saves the providedPublicKeyCredentialCreationOptions
or clears an existingPublicKeyCredentialCreationOptions
ifoptions
is null.- Parameters:
request
- theHttpServletRequest
response
- theHttpServletResponse
options
- thePublicKeyCredentialCreationOptions
to save or null if an existingPublicKeyCredentialCreationOptions
should be removed.
-
load
Gets a savedPublicKeyCredentialCreationOptions
if it exists, otherwise null.- Parameters:
request
- theHttpServletRequest
- Returns:
- the
PublicKeyCredentialCreationOptions
that was saved, otherwise null.
-