インターフェース UserCredentialRepository
- すべての既知の実装クラス:
JdbcUserCredentialRepository
,MapUserCredentialRepository
public interface UserCredentialRepository
ユーザーに関連付けられた
CredentialRecord
を管理するためのリポジトリ。- 導入:
- 6.4
メソッドのサマリー
修飾子と型メソッド説明void
資格情報 ID でエントリを削除しますfindByCredentialId
(Bytes credentialId) 資格情報 ID でエントリを検索します。findByUserId
(Bytes userId) 特定のユーザーのすべてのCredentialRecord
インスタンスを検索します。void
save
(CredentialRecord credentialRecord) CredentialRecord
を節約
メソッドの詳細
delete
資格情報 ID でエントリを削除します- パラメーター:
credentialId
-CredentialRecord.getCredentialId()
save
CredentialRecord
を節約- パラメーター:
credentialRecord
-CredentialRecord
を保存します。
findByCredentialId
資格情報 ID でエントリを検索します。- パラメーター:
credentialId
-CredentialRecord.getCredentialId()
- 戻り値:
CredentialRecord
、見つからない場合は null。
findByUserId
特定のユーザーのすべてのCredentialRecord
インスタンスを検索します。- パラメーター:
userId
-PublicKeyCredentialUserEntity.getId()
を使用してユーザーを検索します。- 戻り値:
- 特定のユーザーのすべての
CredentialRecord
インスタンス、または結果が見つからない場合は空。null にはなりません。 - 関連事項: