Class TotpCredentialRowMapper
java.lang.Object
com.irurueta.authserver.authorization.infrastructure.persistence.totp.TotpCredentialRowMapper
- All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper<TotpCredential>
@Component
public class TotpCredentialRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper<TotpCredential>
Maps a row of the
totp_credentials table to a TotpCredential.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMaps the current row.
-
Constructor Details
-
TotpCredentialRowMapper
public TotpCredentialRowMapper()
-
-
Method Details
-
mapRow
Maps the current row.- Specified by:
mapRowin interfaceorg.springframework.jdbc.core.RowMapper<TotpCredential>- Parameters:
rs- result set positioned on the row.rowNum- number of the row.- Returns:
- the credential.
- Throws:
SQLException- if a column cannot be read.
-