Class CertificateDtoMapper
java.lang.Object
com.irurueta.authserver.authorization.api.web.x509.CertificateDtoMapper
Maps the certificate bindings of the domain onto the DTO generated from the contract. The account a binding belongs
to is not part of the contract.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoResponse(CertificateBinding binding) Maps a binding to its public view.toResponses(List<CertificateBinding> bindings) Maps several bindings, keeping their order.
-
Constructor Details
-
CertificateDtoMapper
public CertificateDtoMapper()
-
-
Method Details
-
toResponse
Maps a binding to its public view.- Parameters:
binding- the binding.- Returns:
- its public view.
-
toResponses
Maps several bindings, keeping their order.- Parameters:
bindings- the bindings.- Returns:
- their public views.
-