get
Passwords
@Query(value = "SELECT * FROM " + PASSWORDS_KEY +
_WHERE_ + USER_IDENTIFIER_KEY + "=:" + USER_IDENTIFIER_KEY +
" AND " + TYPE_KEY + " IN (:" + TYPE_KEY + ")",
nativeQuery = true
)
Query used to retrieve the passwords of the user
Return
Parameters
userId
The identifier of the user
types
The types of the passwords to include in the count
pageable
The parameters to paginate the query