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 savedPublicKeyCredentialCreationOptionsif it exists, otherwise null.voidsave(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PublicKeyCredentialCreationOptions options) Saves the providedPublicKeyCredentialCreationOptionsor clears an existingPublicKeyCredentialCreationOptionsifoptionsis null.
-
Method Details
-
save
void save(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, PublicKeyCredentialCreationOptions options) Saves the providedPublicKeyCredentialCreationOptionsor clears an existingPublicKeyCredentialCreationOptionsifoptionsis null.- Parameters:
request- theHttpServletRequestresponse- theHttpServletResponseoptions- thePublicKeyCredentialCreationOptionsto save or null if an existingPublicKeyCredentialCreationOptionsshould be removed.
-
load
Gets a savedPublicKeyCredentialCreationOptionsif it exists, otherwise null.- Parameters:
request- theHttpServletRequest- Returns:
- the
PublicKeyCredentialCreationOptionsthat was saved, otherwise null.
-