Class PasskeyDtoMapper
java.lang.Object
com.irurueta.authserver.authorization.api.web.passkeys.PasskeyDtoMapper
Maps the passkeys of the domain onto the DTO generated from the contract. The user handle the domain keeps is not
part of the contract and never leaves the server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoResponse(Passkey passkey) Maps a passkey to its public view.toResponses(List<Passkey> passkeys) Maps several passkeys, keeping their order.
-
Constructor Details
-
PasskeyDtoMapper
public PasskeyDtoMapper()
-
-
Method Details
-
toResponse
Maps a passkey to its public view.- Parameters:
passkey- the passkey.- Returns:
- its public view.
-
toResponses
Maps several passkeys, keeping their order.- Parameters:
passkeys- the passkeys.- Returns:
- their public views.
-