Required Associated Typehummingbird-auth 2.0.2HummingbirdAuth
Identifier
UserSessionRepository.swift:30associatedtype Identifier : Decodable, Encodable
associatedtype Identifier : Decodable, Encodable
s15HummingbirdAuth21UserSessionRepositoryP10IdentifierQa
What are these?953D3
import HummingbirdAuth
protocol UserSessionRepository<Identifier, User> : Sendable
Repository of users identified by a session object
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
associatedtype User : Sendable
func getUser(from id: Identifier, context: UserRepositoryContext) async throws -> User?
Get user from repository