getUser(named:context:)

Get user from repository

UserPasswordRepository.swift:33
func getUser(named username: String, context: UserRepositoryContext) async throws -> User?

Returns

User if there is one associated with supplied id

  • id: User ID

  • context: Request context